aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/cli.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cli.rs b/tests/cli.rs
index 7c3c972..92d76a4 100644
--- a/tests/cli.rs
+++ b/tests/cli.rs
@@ -32,7 +32,7 @@ fn version_shows() -> Result<(), Error> {
#[test]
/// Print completions and exit.
fn print_completions() -> Result<(), Error> {
- for shell in Shell::arg_values() {
+ for shell in Shell::possible_values() {
Command::cargo_bin("miniserve")?
.arg("--print-completions")
.arg(shell.get_name())