Skip to content
This repository was archived by the owner on Aug 5, 2024. It is now read-only.
This repository was archived by the owner on Aug 5, 2024. It is now read-only.

Incorrect results after applying patch #52

@noktigula

Description

@noktigula

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions