()
| 353 | |
| 354 | #[test] |
| 355 | fn test_separator_find_byte() { |
| 356 | let sep = Separator::Byte(b':'); |
| 357 | assert_eq!(sep.find_in(b"key:value"), Some(3)); |
| 358 | assert_eq!(sep.find_in(b"no colon"), None); |
| 359 | } |
| 360 | |
| 361 | #[test] |
| 362 | fn test_separator_find_custom() { |
nothing calls this directly
no outgoing calls
no test coverage detected