diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2021-10-18 22:14:52 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-18 22:14:52 +0000 |
commit | 38b120723b96b0b1831ee118820e37ca459f2204 (patch) | |
tree | 42fb22ebfa9a26a19566b7ee8b7a045acb6127db /tests | |
parent | Merge pull request #618 from aliemjay/revert-unnecessary (diff) | |
parent | Update clap (diff) | |
download | miniserve-38b120723b96b0b1831ee118820e37ca459f2204.tar.gz miniserve-38b120723b96b0b1831ee118820e37ca459f2204.zip |
Merge pull request #620 from svenstaro/update-clap
Update clap
Diffstat (limited to 'tests')
-rw-r--r-- | tests/cli.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cli.rs b/tests/cli.rs index 8c88c93..7c3c972 100644 --- a/tests/cli.rs +++ b/tests/cli.rs @@ -32,10 +32,10 @@ fn version_shows() -> Result<(), Error> { #[test] /// Print completions and exit. fn print_completions() -> Result<(), Error> { - for shell in &Shell::variants() { + for shell in Shell::arg_values() { Command::cargo_bin("miniserve")? .arg("--print-completions") - .arg(&shell) + .arg(shell.get_name()) .assert() .success(); } |