()
| 1340 | |
| 1341 | #[test] |
| 1342 | fn test_detect_encoding_utf8() { |
| 1343 | let content = b"hello world"; |
| 1344 | let encoding = detect_encoding(content); |
| 1345 | |
| 1346 | assert_eq!(encoding, Encoding::Utf8); |
| 1347 | } |
| 1348 | |
| 1349 | #[test] |
| 1350 | fn test_detect_encoding_binary_null() { |
nothing calls this directly
no test coverage detected