()
| 1294 | |
| 1295 | #[test] |
| 1296 | fn test_compare_content_deletion() { |
| 1297 | let old = b"hello\nbeautiful\nworld\n"; |
| 1298 | let new = b"hello\nworld\n"; |
| 1299 | |
| 1300 | let ops = compare_content(old, new, Algorithm::Myers); |
| 1301 | |
| 1302 | // Should have at least one delete |
| 1303 | assert!(ops.iter().any(|op| op.is_delete())); |
| 1304 | } |
| 1305 | |
| 1306 | #[test] |
| 1307 | fn test_compare_content_empty_old() { |
nothing calls this directly
no test coverage detected