()
| 347 | |
| 348 | #[test] |
| 349 | fn test_detect_utf16le_bom() { |
| 350 | let content = b"\xff\xfeH\x00e\x00l\x00l\x00o\x00"; |
| 351 | assert_eq!(Encoding::detect(content), Encoding::Utf16Le); |
| 352 | } |
| 353 | |
| 354 | #[test] |
| 355 | fn test_detect_utf16be_bom() { |
nothing calls this directly
no outgoing calls
no test coverage detected