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

Function test_stash_clone

atomic-cli/src/commands/stash.rs:621–631  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

619
620 #[test]
621 fn test_stash_clone() {
622 let cmd = Stash::new()
623 .with_message("test")
624 .with_include_untracked(true);
625
626 let cloned = cmd.clone();
627
628 assert_eq!(cloned.message, cmd.message);
629 assert_eq!(cloned.include_untracked, cmd.include_untracked);
630 assert_eq!(cloned.keep, cmd.keep);
631 }
632
633 // Subcommand Tests
634

Callers

nothing calls this directly

Calls 3

with_messageMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected