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

Function test_pull_clone

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

Source from the content-addressed store, hash-verified

897 /// Test Pull can be cloned.
898 #[test]
899 fn test_pull_clone() {
900 let original = Pull::new().with_remote("test").with_dry_run(true);
901
902 let cloned = original.clone();
903
904 assert_eq!(cloned.remote.as_deref(), Some("test"));
905 assert!(cloned.dry_run);
906 }
907
908 /// Test Pull has Debug implementation.
909 #[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