()
| 353 | |
| 354 | #[test] |
| 355 | fn test_detect_utf16be_bom() { |
| 356 | let content = b"\xfe\xff\x00H\x00e\x00l\x00l\x00o"; |
| 357 | assert_eq!(Encoding::detect(content), Encoding::Utf16Be); |
| 358 | } |
| 359 | |
| 360 | #[test] |
| 361 | fn test_detect_binary_null_bytes() { |
nothing calls this directly
no outgoing calls
no test coverage detected