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

Function test_pull_clone

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

Source from the content-addressed store, hash-verified

874 /// Test Pull can be cloned.
875 #[test]
876 fn test_pull_clone() {
877 let original = Pull::new().with_remote("test").with_dry_run(true);
878
879 let cloned = original.clone();
880
881 assert_eq!(cloned.remote, "test");
882 assert!(cloned.dry_run);
883 }
884
885 /// Test Pull has Debug implementation.
886 #[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