MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_separator_find_custom

Function test_separator_find_custom

atomic-core/src/diff/split.rs:362–366  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected