diff --git a/tests/flag_subcommands.rs b/tests/flag_subcommands.rs index efb10481..4eebdb0e 100644 --- a/tests/flag_subcommands.rs +++ b/tests/flag_subcommands.rs @@ -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]