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

Function test_remove_clone

atomic-cli/src/commands/remove.rs:458–466  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

456
457 #[test]
458 fn test_remove_clone() {
459 let cmd = Remove::new(vec!["file.txt".to_string()])
460 .with_keep(true)
461 .with_force(true);
462 let cloned = cmd.clone();
463 assert_eq!(cloned.paths, cmd.paths);
464 assert_eq!(cloned.keep, cmd.keep);
465 assert_eq!(cloned.force, cmd.force);
466 }
467}

Callers

nothing calls this directly

Calls 3

with_forceMethod · 0.45
with_keepMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected