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

Function test_push_with_dry_run

atomic-cli/src/commands/push/command.rs:878–884  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

876
877 #[test]
878 fn test_push_with_dry_run() {
879 let push = Push::new().with_dry_run(true);
880 assert!(push.dry_run);
881
882 let push2 = push.with_dry_run(false);
883 assert!(!push2.dry_run);
884 }
885
886 #[test]
887 fn test_push_with_force() {

Callers

nothing calls this directly

Calls 1

with_dry_runMethod · 0.45

Tested by

no test coverage detected