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

Function test_remove_new

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

Source from the content-addressed store, hash-verified

547
548 #[test]
549 fn test_remove_new() {
550 let cmd = Remove::new(vec!["file.txt".to_string()]);
551 assert_eq!(cmd.paths, vec!["file.txt"]);
552 assert!(!cmd.keep);
553 assert!(cmd.recursive);
554 assert!(!cmd.dry_run);
555 assert!(!cmd.force);
556 }
557
558 #[test]
559 fn test_remove_default() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected