()
| 427 | |
| 428 | #[test] |
| 429 | fn test_skip_bom_no_change() { |
| 430 | let content = b"No BOM here"; |
| 431 | assert_eq!(Encoding::Utf8.skip_bom(content), content); |
| 432 | assert_eq!(Encoding::Latin1.skip_bom(content), content); |
| 433 | assert_eq!(Encoding::Binary.skip_bom(content), content); |
| 434 | } |
| 435 | |
| 436 | // Name/Parse Tests |
| 437 |
nothing calls this directly
no outgoing calls
no test coverage detected