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

Function test_push_clone

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

Source from the content-addressed store, hash-verified

1024
1025 #[test]
1026 fn test_push_clone() {
1027 let push = Push::new().with_remote("origin").with_dry_run(true);
1028 let cloned = push.clone();
1029
1030 assert_eq!(cloned.remote, push.remote);
1031 assert_eq!(cloned.dry_run, push.dry_run);
1032 }
1033
1034 #[test]
1035 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