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

Function test_remove_clone

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

Source from the content-addressed store, hash-verified

692
693 #[test]
694 fn test_remove_clone() {
695 let cmd = Remove::new(vec!["file.txt".to_string()])
696 .with_keep(true)
697 .with_force(true);
698 let cloned = cmd.clone();
699 assert_eq!(cloned.paths, cmd.paths);
700 assert_eq!(cloned.keep, cmd.keep);
701 assert_eq!(cloned.force, cmd.force);
702 }
703}

Callers

nothing calls this directly

Calls 3

with_forceMethod · 0.45
with_keepMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected