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

Function test_pull_clone

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

Source from the content-addressed store, hash-verified

1005 /// Test Pull can be cloned.
1006 #[test]
1007 fn test_pull_clone() {
1008 let original = Pull::new().with_remote("test").with_dry_run(true);
1009
1010 let cloned = original.clone();
1011
1012 assert_eq!(cloned.remote.as_deref(), Some("test"));
1013 assert!(cloned.dry_run);
1014 }
1015
1016 /// Test Pull has Debug implementation.
1017 #[test]

Callers

nothing calls this directly

Calls 3

with_dry_runMethod · 0.45
with_remoteMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected