()
| 437 | |
| 438 | #[test] |
| 439 | fn test_name() { |
| 440 | assert_eq!(Encoding::Utf8.name(), "UTF-8"); |
| 441 | assert_eq!(Encoding::Utf16Le.name(), "UTF-16LE"); |
| 442 | assert_eq!(Encoding::Utf16Be.name(), "UTF-16BE"); |
| 443 | assert_eq!(Encoding::Latin1.name(), "ISO-8859-1"); |
| 444 | assert_eq!(Encoding::Binary.name(), "binary"); |
| 445 | } |
| 446 | |
| 447 | #[test] |
| 448 | fn test_display() { |
nothing calls this directly
no outgoing calls
no test coverage detected