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

Function test_split_clone

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

Source from the content-addressed store, hash-verified

333
334 #[test]
335 fn test_split_clone() {
336 let cmd = Split::new("feature").with_source("main").with_switch(true);
337 let cloned = cmd.clone();
338
339 assert_eq!(cloned.name, cmd.name);
340 assert_eq!(cloned.source, cmd.source);
341 assert_eq!(cloned.switch, cmd.switch);
342 }
343}

Callers

nothing calls this directly

Calls 3

with_sourceMethod · 0.80
with_switchMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected