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

Function test_separator_find_byte

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

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected