()
| 874 | |
| 875 | #[test] |
| 876 | fn test_common_affixes_none() { |
| 877 | let old = vec![1, 2, 3]; |
| 878 | let new = vec![4, 5, 6]; |
| 879 | let (prefix, suffix) = common_affixes(&old, &new); |
| 880 | assert_eq!(prefix, 0); |
| 881 | assert_eq!(suffix, 0); |
| 882 | } |
| 883 | |
| 884 | /// Test that modifying a line and inserting a copy of the original |
| 885 | /// is detected as a Replace + Insert, not just an Insert. |
nothing calls this directly
no test coverage detected