()
| 848 | |
| 849 | #[test] |
| 850 | fn test_diff_replace() { |
| 851 | let old = b"line1\nold\nline3\n"; |
| 852 | let new = b"line1\nnew\nline3\n"; |
| 853 | let result = diff_text(old, new, Algorithm::Myers); |
| 854 | assert!(!result.is_unchanged()); |
| 855 | } |
| 856 | |
| 857 | #[test] |
| 858 | fn test_common_affixes() { |
nothing calls this directly
no test coverage detected