()
| 810 | |
| 811 | #[test] |
| 812 | fn test_tokenize_single_line() { |
| 813 | let content = b"hello world\n"; |
| 814 | let ops = tokenize_content_for_display("hello.txt", content, Encoding::Utf8); |
| 815 | |
| 816 | assert_eq!(ops.path(), "hello.txt"); |
| 817 | assert!(ops.line_count() >= 1); |
| 818 | } |
| 819 | |
| 820 | #[test] |
| 821 | fn test_tokenize_multi_line() { |
nothing calls this directly
no test coverage detected