()
| 360 | |
| 361 | #[test] |
| 362 | fn test_separator_find_custom() { |
| 363 | let sep = Separator::Custom(b"||".to_vec()); |
| 364 | assert_eq!(sep.find_in(b"a||b||c"), Some(1)); |
| 365 | assert_eq!(sep.find_in(b"a|b|c"), None); |
| 366 | } |
| 367 | |
| 368 | // LineSplit Tests |
| 369 | #[test] |
nothing calls this directly
no outgoing calls
no test coverage detected