()
| 484 | |
| 485 | #[test] |
| 486 | fn test_from_extension_archives() { |
| 487 | assert_eq!(Encoding::from_extension("zip"), Some(Encoding::Binary)); |
| 488 | assert_eq!(Encoding::from_extension("tar"), Some(Encoding::Binary)); |
| 489 | assert_eq!(Encoding::from_extension("gz"), Some(Encoding::Binary)); |
| 490 | } |
| 491 | |
| 492 | #[test] |
| 493 | fn test_from_extension_text() { |
nothing calls this directly
no outgoing calls
no test coverage detected