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

Function test_tokenize_binary_content

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

Source from the content-addressed store, hash-verified

827
828 #[test]
829 fn test_tokenize_binary_content() {
830 let content = &[0x00, 0x01, 0x02, 0xFF, 0xFE];
831 let ops = tokenize_content_for_display("binary.dat", content, Encoding::Binary);
832
833 assert_eq!(ops.path(), "binary.dat");
834 }
835
836 #[test]
837 fn test_tokenize_rust_source() {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected