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

Function test_is_binary_text

atomic-core/src/record/workflow/compare.rs:533–537  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

531
532 #[test]
533 fn test_is_binary_text() {
534 assert!(!is_binary(b"Hello, World!"));
535 assert!(!is_binary(b"Line 1\nLine 2\nLine 3\n"));
536 assert!(!is_binary(b"Tab\there\nNewline"));
537 }
538
539 #[test]
540 fn test_is_binary_null() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected