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

Function test_subcommand_pop

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

Source from the content-addressed store, hash-verified

656
657 #[test]
658 fn test_subcommand_pop() {
659 let subcmd = StashSubcommand::Pop {
660 stash: Some("stash@{0}".to_string()),
661 };
662
663 match subcmd {
664 StashSubcommand::Pop { stash } => {
665 assert_eq!(stash, Some("stash@{0}".to_string()));
666 }
667 _ => panic!("Expected Pop"),
668 }
669 }
670
671 #[test]
672 fn test_subcommand_list() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected