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

Function test_stash_builder_chain

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

Source from the content-addressed store, hash-verified

793
794 #[test]
795 fn test_stash_builder_chain() {
796 let cmd = Stash::new()
797 .with_message("test")
798 .with_include_untracked(true)
799 .with_keep(true);
800
801 assert_eq!(cmd.message, Some("test".to_string()));
802 assert!(cmd.include_untracked);
803 assert!(cmd.keep);
804 }
805
806 // StashEntry Tests
807

Callers

nothing calls this directly

Calls 3

with_keepMethod · 0.45
with_messageMethod · 0.45

Tested by

no test coverage detected