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

Function test_split_clone

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

with_sourceMethod · 0.80
with_switchMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected