()
| 359 | |
| 360 | #[test] |
| 361 | fn test_detect_binary_null_bytes() { |
| 362 | // Content with null bytes is binary |
| 363 | let content = b"Hello\x00World"; |
| 364 | assert_eq!(Encoding::detect(content), Encoding::Binary); |
| 365 | } |
| 366 | |
| 367 | #[test] |
| 368 | fn test_detect_latin1() { |
nothing calls this directly
no outgoing calls
no test coverage detected