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

Function test_tokenize_single_line

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

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected