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

Function test_pull_clone

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

Source from the content-addressed store, hash-verified

965 /// Test Pull can be cloned.
966 #[test]
967 fn test_pull_clone() {
968 let original = Pull::new().with_remote("test").with_dry_run(true);
969
970 let cloned = original.clone();
971
972 assert_eq!(cloned.remote.as_deref(), Some("test"));
973 assert!(cloned.dry_run);
974 }
975
976 /// Test Pull has Debug implementation.
977 #[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