MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_tokenize_multi_line

Function test_tokenize_multi_line

atomic-repository/src/semantic_regen.rs:821–826  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

819
820 #[test]
821 fn test_tokenize_multi_line() {
822 let content = b"line 1\nline 2\nline 3\n";
823 let ops = tokenize_content_for_display("multi.txt", content, Encoding::Utf8);
824
825 assert!(ops.line_count() >= 3);
826 }
827
828 #[test]
829 fn test_tokenize_binary_content() {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected