diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2021-08-30 03:04:10 +0000 |
---|---|---|
committer | Sven-Hendrik Haase <svenstaro@gmail.com> | 2021-08-30 03:04:10 +0000 |
commit | 21bc01feabc1c3c6cb05232b40042570b4792263 (patch) | |
tree | 268c68fbcc279813e2c5a71fdecc673996abbd78 /tests/cli.rs | |
parent | Merge pull request #586 from svenstaro/fix-warnings (diff) | |
download | miniserve-21bc01feabc1c3c6cb05232b40042570b4792263.tar.gz miniserve-21bc01feabc1c3c6cb05232b40042570b4792263.zip |
Switch from structopt to clap v3
Diffstat (limited to 'tests/cli.rs')
-rw-r--r-- | tests/cli.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/cli.rs b/tests/cli.rs index f88b284..8c88c93 100644 --- a/tests/cli.rs +++ b/tests/cli.rs @@ -1,9 +1,10 @@ mod fixtures; use assert_cmd::prelude::*; +use clap::{crate_name, crate_version}; +use clap_generate::Shell; use fixtures::Error; use std::process::Command; -use structopt::clap::{crate_name, crate_version, Shell}; #[test] /// Show help and exit. |