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

Function test_stash_clone

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

Source from the content-addressed store, hash-verified

863
864 #[test]
865 fn test_stash_clone() {
866 let cmd = Stash::new()
867 .with_message("test")
868 .with_include_untracked(true);
869
870 let cloned = cmd.clone();
871
872 assert_eq!(cloned.message, cmd.message);
873 assert_eq!(cloned.include_untracked, cmd.include_untracked);
874 assert_eq!(cloned.keep, cmd.keep);
875 }
876
877 // Subcommand Tests
878

Callers

nothing calls this directly

Calls 3

with_messageMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected