aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auth_file.rs
diff options
context:
space:
mode:
authorSven-Hendrik Haase <svenstaro@gmail.com>2025-02-06 03:30:28 +0000
committerSven-Hendrik Haase <svenstaro@gmail.com>2025-02-06 03:30:28 +0000
commitf0eb61436e62d0d0d755ac8280bf97b4b52d4e0b (patch)
treeb6a27e61b6a0084b4944613c61d7392ccca55bbb /tests/auth_file.rs
parentMake clippy happy (diff)
downloadminiserve-f0eb61436e62d0d0d755ac8280bf97b4b52d4e0b.tar.gz
miniserve-f0eb61436e62d0d0d755ac8280bf97b4b52d4e0b.zip
Get rid of server_no_stderr
We'll now always just pipe the contents of the child to the parent.
Diffstat (limited to '')
-rw-r--r--tests/auth_file.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auth_file.rs b/tests/auth_file.rs
index 10a94ed..eb40d2c 100644
--- a/tests/auth_file.rs
+++ b/tests/auth_file.rs
@@ -4,7 +4,7 @@ use select::{document::Document, predicate::Text};
mod fixtures;
-use crate::fixtures::{server, server_no_stderr, Error, FILES};
+use crate::fixtures::{server, Error, FILES};
#[rstest(
cli_auth_file_arg,
@@ -51,7 +51,7 @@ fn auth_file_rejects(
client_username: &str,
client_password: &str,
) -> Result<(), Error> {
- let server = server_no_stderr(&["--auth-file", cli_auth_file_arg]);
+ let server = server(&["--auth-file", cli_auth_file_arg]);
let client = Client::new();
let status = client
.get(server.url())