aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSven-Hendrik Haase <svenstaro@gmail.com>2021-08-30 03:04:10 +0000
committerSven-Hendrik Haase <svenstaro@gmail.com>2021-08-30 03:04:10 +0000
commit21bc01feabc1c3c6cb05232b40042570b4792263 (patch)
tree268c68fbcc279813e2c5a71fdecc673996abbd78 /tests
parentMerge pull request #586 from svenstaro/fix-warnings (diff)
downloadminiserve-21bc01feabc1c3c6cb05232b40042570b4792263.tar.gz
miniserve-21bc01feabc1c3c6cb05232b40042570b4792263.zip
Switch from structopt to clap v3
Diffstat (limited to 'tests')
-rw-r--r--tests/cli.rs3
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.