()
| 381 | |
| 382 | #[test] |
| 383 | fn test_is_text() { |
| 384 | assert!(Encoding::Utf8.is_text()); |
| 385 | assert!(Encoding::Utf16Le.is_text()); |
| 386 | assert!(Encoding::Utf16Be.is_text()); |
| 387 | assert!(Encoding::Latin1.is_text()); |
| 388 | assert!(!Encoding::Binary.is_text()); |
| 389 | } |
| 390 | |
| 391 | #[test] |
| 392 | fn test_is_binary() { |
nothing calls this directly
no outgoing calls
no test coverage detected