()
| 813 | |
| 814 | #[test] |
| 815 | fn test_common_affixes_none() { |
| 816 | let old = vec![1, 2, 3]; |
| 817 | let new = vec![4, 5, 6]; |
| 818 | let (prefix, suffix) = common_affixes(&old, &new); |
| 819 | assert_eq!(prefix, 0); |
| 820 | assert_eq!(suffix, 0); |
| 821 | } |
| 822 | |
| 823 | /// Test that modifying a line and inserting a copy of the original |
| 824 | /// is detected as a Replace + Insert, not just an Insert. |
nothing calls this directly
no test coverage detected