my fork of dmp
Diffstat (limited to 'tests/test.rs')
| -rw-r--r-- | tests/test.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/test.rs b/tests/test.rs index db06241..c61cc80 100644 --- a/tests/test.rs +++ b/tests/test.rs @@ -1302,7 +1302,6 @@ fn test_patch_apply() -> Result<(), Error> { // Tests for issue https://github.com/AnubhabB/diff-match-patch-rs/issues/2 let strp = "@@ -1,11 +1,5 @@\n-%F0%9F%8D%8A, a\n+A\n ah o\n@@ -3,17 +3,21 @@\n h orange\n- \n+!%F0%9F%8C%8A\n is the n\n@@ -23,10 +23,8 @@\n new \n-black!\n+%F0%9F%8C%8A\n"; let patches = dmp.patch_from_text::<Compat>(strp)?; - println!("{patches:?}"); assert_eq!(strp, dmp.patch_to_text(&patches)); let (patched, _) = dmp.patch_apply(&patches, "π, aah orange is the new black!")?; assert_eq!(patched, "Aah orange!πis the new π"); |