fix: duplicate flags in Flag Subcommand test

This commit is contained in:
NickHackman 2020-06-17 00:56:05 -04:00
parent b09afcf653
commit f7c5b098b9

View file

@ -256,7 +256,7 @@ fn flag_subcommand_long_conflict_with_arg() {
let _ = App::new("test")
.subcommand(App::new("some").short_flag('a').long_flag("flag"))
.arg(Arg::new("flag").long("flag"))
.get_matches_from(vec!["myprog", "--flag", "--flag"]);
.get_matches_from(vec!["myprog", "--flag"]);
}
#[test]