()
| 1316 | |
| 1317 | #[test] |
| 1318 | fn test_compare_content_empty_new() { |
| 1319 | let old = b"hello\n"; |
| 1320 | let new = b""; |
| 1321 | |
| 1322 | let ops = compare_content(old, new, Algorithm::Myers); |
| 1323 | |
| 1324 | // Should be all deletes |
| 1325 | assert!(ops.iter().all(|op| op.is_delete() || op.is_equal())); |
| 1326 | } |
| 1327 | |
| 1328 | #[test] |
| 1329 | fn test_compare_content_patience() { |
nothing calls this directly
no test coverage detected