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

Function test_skip_bom_no_change

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

Source from the content-addressed store, hash-verified

427
428 #[test]
429 fn test_skip_bom_no_change() {
430 let content = b"No BOM here";
431 assert_eq!(Encoding::Utf8.skip_bom(content), content);
432 assert_eq!(Encoding::Latin1.skip_bom(content), content);
433 assert_eq!(Encoding::Binary.skip_bom(content), content);
434 }
435
436 // Name/Parse Tests
437

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected