From 32db427706c5f3f000911bb4854f6a3ec80b5b0b Mon Sep 17 00:00:00 2001 From: NickHackman Date: Wed, 17 Jun 2020 01:14:48 -0400 Subject: [PATCH] fix: duplicate short flags in Flag Subcommand test --- tests/flag_subcommands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/flag_subcommands.rs b/tests/flag_subcommands.rs index 4eebdb0e..e4f4683e 100644 --- a/tests/flag_subcommands.rs +++ b/tests/flag_subcommands.rs @@ -247,7 +247,7 @@ fn flag_subcommand_short_conflict_with_arg() { let _ = App::new("test") .subcommand(App::new("some").short_flag('f').long_flag("some")) .arg(Arg::new("test").short('f')) - .get_matches_from(vec!["myprog", "-ff"]); + .get_matches_from(vec!["myprog", "-f"]); } #[test]