()
| 550 | |
| 551 | #[test] |
| 552 | fn test_right_deletes_token() { |
| 553 | let base = tokenize(b"a b c"); |
| 554 | let left = tokenize(b"a b c"); |
| 555 | let right = tokenize(b"a c"); |
| 556 | let result = three_way_merge(&base, &left, &right); |
| 557 | assert!(matches!(result, ThreeWayResult::Merged(_))); |
| 558 | assert_eq!(merged_string(&result).unwrap(), "a c"); |
| 559 | } |
| 560 | |
| 561 | // ---- Insertion cases -------------------------------------------------- |
| 562 |
nothing calls this directly
no test coverage detected