()
| 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() { |
nothing calls this directly
no outgoing calls
no test coverage detected