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

Function test_push_clone

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

Source from the content-addressed store, hash-verified

902
903 #[test]
904 fn test_push_clone() {
905 let push = Push::new().with_remote("test").with_dry_run(true);
906 let cloned = push.clone();
907
908 assert_eq!(push.remote, cloned.remote);
909 assert_eq!(push.dry_run, cloned.dry_run);
910 }
911
912 #[test]
913 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