()
| 314 | |
| 315 | #[test] |
| 316 | fn test_separator_as_bytes() { |
| 317 | assert_eq!(Separator::Newline.as_bytes(), b"\n"); |
| 318 | assert_eq!(Separator::CrLf.as_bytes(), b"\r\n"); |
| 319 | assert_eq!(Separator::Byte(b':').as_bytes(), b":"); |
| 320 | assert_eq!(Separator::Custom(b"||".to_vec()).as_bytes(), b"||"); |
| 321 | } |
| 322 | |
| 323 | #[test] |
| 324 | fn test_separator_len() { |
nothing calls this directly
no outgoing calls
no test coverage detected