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

Function test_pull_with_dry_run

atomic-cli/src/commands/pull/command.rs:906–912  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

904 /// Test with_dry_run builder method.
905 #[test]
906 fn test_pull_with_dry_run() {
907 let pull = Pull::new().with_dry_run(true);
908 assert!(pull.dry_run);
909
910 let pull = Pull::new().with_dry_run(false);
911 assert!(!pull.dry_run);
912 }
913
914 /// Test with_all builder method.
915 #[test]

Callers

nothing calls this directly

Calls 1

with_dry_runMethod · 0.45

Tested by

no test coverage detected