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

Function test_stash_builder_chain

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

Source from the content-addressed store, hash-verified

549
550 #[test]
551 fn test_stash_builder_chain() {
552 let cmd = Stash::new()
553 .with_message("test")
554 .with_include_untracked(true)
555 .with_keep(true);
556
557 assert_eq!(cmd.message, Some("test".to_string()));
558 assert!(cmd.include_untracked);
559 assert!(cmd.keep);
560 }
561
562 // StashEntry Tests
563

Callers

nothing calls this directly

Calls 3

with_keepMethod · 0.45
with_messageMethod · 0.45

Tested by

no test coverage detected