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

Function test_split_clone

atomic-cli/src/commands/split.rs:319–326  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

317
318 #[test]
319 fn test_split_clone() {
320 let cmd = Split::new("feature").with_source("main").with_switch(true);
321 let cloned = cmd.clone();
322
323 assert_eq!(cloned.name, cmd.name);
324 assert_eq!(cloned.source, cmd.source);
325 assert_eq!(cloned.switch, cmd.switch);
326 }
327}

Callers

nothing calls this directly

Calls 3

with_sourceMethod · 0.80
with_switchMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected