()
| 787 | |
| 788 | #[test] |
| 789 | fn test_diff_replace() { |
| 790 | let old = b"line1\nold\nline3\n"; |
| 791 | let new = b"line1\nnew\nline3\n"; |
| 792 | let result = diff_text(old, new, Algorithm::Myers); |
| 793 | assert!(!result.is_unchanged()); |
| 794 | } |
| 795 | |
| 796 | #[test] |
| 797 | fn test_common_affixes() { |
nothing calls this directly
no test coverage detected