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

Function test_push_clone

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

Source from the content-addressed store, hash-verified

1273
1274 #[test]
1275 fn test_push_clone() {
1276 let push = Push::new().with_remote("origin").with_dry_run(true);
1277 let cloned = push.clone();
1278
1279 assert_eq!(cloned.remote, push.remote);
1280 assert_eq!(cloned.dry_run, push.dry_run);
1281 }
1282
1283 #[test]
1284 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