()
| 635 | |
| 636 | #[test] |
| 637 | fn test_diff_tokens_identical() { |
| 638 | let tokens = tokenize(b"hello world"); |
| 639 | let ops = diff_tokens(&tokens, &tokens); |
| 640 | // All operations should be Keep. |
| 641 | for op in &ops { |
| 642 | assert!(matches!(op, EditOp::Keep(_)), "expected Keep, got {:?}", op,); |
| 643 | } |
| 644 | } |
| 645 | |
| 646 | #[test] |
| 647 | fn test_diff_tokens_all_new() { |
nothing calls this directly
no test coverage detected