()
| 539 | |
| 540 | #[test] |
| 541 | fn test_left_deletes_token() { |
| 542 | // "a b c" → left removes "b ", right keeps |
| 543 | let base = tokenize(b"a b c"); |
| 544 | let left = tokenize(b"a c"); |
| 545 | let right = tokenize(b"a b c"); |
| 546 | let result = three_way_merge(&base, &left, &right); |
| 547 | assert!(matches!(result, ThreeWayResult::Merged(_))); |
| 548 | assert_eq!(merged_string(&result).unwrap(), "a c"); |
| 549 | } |
| 550 | |
| 551 | #[test] |
| 552 | fn test_right_deletes_token() { |
nothing calls this directly
no test coverage detected