()
| 1348 | |
| 1349 | #[test] |
| 1350 | fn test_detect_encoding_binary_null() { |
| 1351 | let content = b"hello\x00world"; |
| 1352 | let encoding = detect_encoding(content); |
| 1353 | |
| 1354 | assert_eq!(encoding, Encoding::Binary); |
| 1355 | } |
| 1356 | |
| 1357 | #[test] |
| 1358 | fn test_detect_encoding_binary_invalid_utf8() { |
nothing calls this directly
no test coverage detected