mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 22:32:33 +00:00
fix: duplicate flags in Flag Subcommand test
This commit is contained in:
parent
b09afcf653
commit
f7c5b098b9
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue