Fix buggy tests

This commit is contained in:
CreepySkeleton 2020-08-02 19:52:12 +03:00
parent 32414fbdff
commit 6169bb8e79
3 changed files with 3 additions and 3 deletions

View file

@ -167,7 +167,7 @@ fn invisible_arg_aliases_help_output() {
.takes_value(true)
.aliases(&["invisible", "als1", "more"]),
)
.arg(Arg::from("-f, --flag").aliases(&["invisible", "flg1", "anyway"])),
.arg(Arg::from("-f, --flag").aliases(&["unseeable", "flg1", "anyway"])),
);
assert!(utils::compare_output(
app,

View file

@ -163,7 +163,7 @@ fn invisible_short_arg_aliases_help_output() {
.takes_value(true)
.short_aliases(&['a', 'b', 'c']),
)
.arg(Arg::from("-f, --flag").short_aliases(&['a', 'b', 'c'])),
.arg(Arg::from("-f, --flag").short_aliases(&['x', 'y', 'z'])),
);
assert!(utils::compare_output(
app,

View file

@ -92,7 +92,7 @@ args:
- multshortaliases:
long: multshortaliases
about: Tests multiple short aliases
short_aliases: [a, b, c]
short_aliases: [b, c]
- minvals2:
long: minvals2
multiple: true