X Tutup
The Wayback Machine - https://web.archive.org/web/20200920090511/https://github.com/google/diff-match-patch/issues/52
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect results after applying patch #52

Open
noktigula opened this issue Nov 8, 2018 · 0 comments
Open

Incorrect results after applying patch #52

noktigula opened this issue Nov 8, 2018 · 0 comments

Comments

@noktigula
Copy link

@noktigula noktigula commented Nov 8, 2018

Hello,
I observe reproducible error: after applying patch result string is not same as one which was used creating the patch.
Setup: I have 2 JS files (bundles built with Metro Bundler from ReactNative). File2 is next version of File1 (couple of words changed in src file).
I create patch with Python3 implementation of diff-match-patch, then I serialize it to string.
Then, patch is red from string with Java and I'm applying patch with Java implementation of diff-match-patch.
Expected result: after applying patch to File1 result string will be equal to File2.
Actual result: there is a difference in 1 symbol.
Test project can be found here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.
X Tutup