fix: duplicate short flags in Flag Subcommand test

This commit is contained in:
NickHackman 2020-06-17 01:14:48 -04:00
parent f7c5b098b9
commit 32db427706

View file

@ -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]