()
| 562 | |
| 563 | #[test] |
| 564 | fn test_left_inserts_token() { |
| 565 | let base = tokenize(b"a c"); |
| 566 | let left = tokenize(b"a b c"); |
| 567 | let right = tokenize(b"a c"); |
| 568 | let result = three_way_merge(&base, &left, &right); |
| 569 | assert!(matches!(result, ThreeWayResult::Merged(_))); |
| 570 | assert_eq!(merged_string(&result).unwrap(), "a b c"); |
| 571 | } |
| 572 | |
| 573 | // ---- Code-like content ------------------------------------------------ |
| 574 |
nothing calls this directly
no test coverage detected