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

Function test_detect_empty

atomic-core/src/change/encoding.rs:375–378  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

373
374 #[test]
375 fn test_detect_empty() {
376 // Empty content is valid UTF-8
377 assert_eq!(Encoding::detect(b""), Encoding::Utf8);
378 }
379
380 // Property Tests
381

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected