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

Function test_skip_bom_utf16le

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

Source from the content-addressed store, hash-verified

421
422 #[test]
423 fn test_skip_bom_utf16le() {
424 let with_bom = b"\xff\xfeHello";
425 assert_eq!(Encoding::Utf16Le.skip_bom(with_bom), b"Hello");
426 }
427
428 #[test]
429 fn test_skip_bom_no_change() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected