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

Function test_push_clone

atomic-cli/src/commands/push/command.rs:928–934  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

926
927 #[test]
928 fn test_push_clone() {
929 let push = Push::new().with_remote("test").with_dry_run(true);
930 let cloned = push.clone();
931
932 assert_eq!(push.remote, cloned.remote);
933 assert_eq!(push.dry_run, cloned.dry_run);
934 }
935
936 #[test]
937 fn test_push_debug() {

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