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

Function test_separator_len

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

Source from the content-addressed store, hash-verified

322
323 #[test]
324 fn test_separator_len() {
325 assert_eq!(Separator::Newline.len(), 1);
326 assert_eq!(Separator::CrLf.len(), 2);
327 assert_eq!(Separator::Byte(b':').len(), 1);
328 assert_eq!(Separator::Custom(b"|||".to_vec()).len(), 3);
329 }
330
331 #[test]
332 fn test_separator_is_empty() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected