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:946–952  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

944 /// Test with_dry_run builder method.
945 #[test]
946 fn test_pull_with_dry_run() {
947 let pull = Pull::new().with_dry_run(true);
948 assert!(pull.dry_run);
949
950 let pull = Pull::new().with_dry_run(false);
951 assert!(!pull.dry_run);
952 }
953
954 /// Test with_all builder method.
955 #[test]

Callers

nothing calls this directly

Calls 1

with_dry_runMethod · 0.45

Tested by

no test coverage detected