()
| 229 | |
| 230 | #[test] |
| 231 | fn test_identical() { |
| 232 | let old = lines(&["a\n", "b\n", "c\n"]); |
| 233 | let new = lines(&["a\n", "b\n", "c\n"]); |
| 234 | |
| 235 | let result = diff(&old, &new); |
| 236 | |
| 237 | assert!(result.is_unchanged()); |
| 238 | } |
| 239 | |
| 240 | #[test] |
| 241 | fn test_single_insert() { |