Open DSLituiev opened 8 months ago
The documentation test case silently fails:
from diff_match_patch import diff_match_patch as DMP dmp = DMP() x1 = "Good dog" x2 = "Bad dog" diffs = dmp.diff_main(x1, x2) print(diffs) dmp.diff_cleanupSemantic(diffs) print(diffs)
both result in [(-1, 'Goo'), (1, 'Ba'), (0, 'd dog')]
[(-1, 'Goo'), (1, 'Ba'), (0, 'd dog')]
The documentation test case silently fails:
both result in
[(-1, 'Goo'), (1, 'Ba'), (0, 'd dog')]