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

Function test_subcommand_clear

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

Source from the content-addressed store, hash-verified

676
677 #[test]
678 fn test_subcommand_clear() {
679 let subcmd = StashSubcommand::Clear { force: true };
680
681 match subcmd {
682 StashSubcommand::Clear { force } => {
683 assert!(force);
684 }
685 _ => panic!("Expected Clear"),
686 }
687 }
688}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected