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

Function test_push_clone

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

Source from the content-addressed store, hash-verified

1035
1036 #[test]
1037 fn test_push_clone() {
1038 let push = Push::new().with_remote("origin").with_dry_run(true);
1039 let cloned = push.clone();
1040
1041 assert_eq!(cloned.remote, push.remote);
1042 assert_eq!(cloned.dry_run, push.dry_run);
1043 }
1044
1045 #[test]
1046 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