Skip to content

Commit

Permalink
Fix buggy tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CreepySkeleton committed Aug 2, 2020
1 parent ff2ef2c commit 0a1d207
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/arg_aliases.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion tests/arg_aliases_short.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0a1d207

Please sign in to comment.