Skip to content

Commit

Permalink
Merge pull request #3759 from epage/deprecated
Browse files Browse the repository at this point in the history
fix: Remove deprecation warning
  • Loading branch information
epage committed May 26, 2022
2 parents f2f9aa1 + f082f49 commit 03ed233
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/builder/app_settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,10 @@ fn allow_ext_sc_empty_args() {
match res.unwrap().subcommand() {
Some((name, args)) => {
assert_eq!(name, "external-cmd");
assert_eq!(args.values_of_lossy(""), Some(vec![]));
assert_eq!(
args.get_many::<OsString>("").unwrap().collect::<Vec<_>>(),
Vec::<&OsString>::new(),
);
}
_ => unreachable!(),
}
Expand Down

0 comments on commit 03ed233

Please sign in to comment.