diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2019-05-01 07:13:13 +0000 |
---|---|---|
committer | Sven-Hendrik Haase <svenstaro@gmail.com> | 2019-05-01 07:13:13 +0000 |
commit | 1adab9d2f5d7863b6df32992ecb21dcea5b51d21 (patch) | |
tree | 2eda7658c659bb25c3e412b7c2d03d89b0226aa8 /tests/cli.rs | |
parent | Merge pull request #91 from KSXGitHub/split-integration-test (diff) | |
download | miniserve-1adab9d2f5d7863b6df32992ecb21dcea5b51d21.tar.gz miniserve-1adab9d2f5d7863b6df32992ecb21dcea5b51d21.zip |
Make tests into their own proper modules without star imports
Star imports make it hard to see which imports a module is actually using so I prefer to have this be a bit more explicit.
Diffstat (limited to 'tests/cli.rs')
-rw-r--r-- | tests/cli.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/cli.rs b/tests/cli.rs index fe0f141..d5df06b 100644 --- a/tests/cli.rs +++ b/tests/cli.rs @@ -1,5 +1,9 @@ mod fixtures; -use fixtures::*; + +use assert_cmd::prelude::*; +use clap::{crate_name, crate_version}; +use fixtures::Error; +use std::process::Command; #[test] /// Show help and exit. |