diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2025-02-06 03:30:28 +0000 |
---|---|---|
committer | Sven-Hendrik Haase <svenstaro@gmail.com> | 2025-02-06 03:30:28 +0000 |
commit | f0eb61436e62d0d0d755ac8280bf97b4b52d4e0b (patch) | |
tree | b6a27e61b6a0084b4944613c61d7392ccca55bbb /tests/webdav.rs | |
parent | Make clippy happy (diff) | |
download | miniserve-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/webdav.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/webdav.rs b/tests/webdav.rs index eb97e3c..09d04e9 100644 --- a/tests/webdav.rs +++ b/tests/webdav.rs @@ -13,8 +13,8 @@ use rstest::rstest; mod fixtures; use crate::fixtures::{ - server, server_no_stderr, tmpdir, Error, TestServer, DIRECTORIES, DIRECTORY_SYMLINK, FILES, - FILE_SYMLINK, HIDDEN_DIRECTORIES, HIDDEN_FILES, + server, tmpdir, Error, TestServer, DIRECTORIES, DIRECTORY_SYMLINK, FILES, FILE_SYMLINK, + HIDDEN_DIRECTORIES, HIDDEN_FILES, }; #[rstest] @@ -90,7 +90,7 @@ fn webdav_respects_hidden_flag( #[rstest] #[case(server(&["--enable-webdav"]), true)] #[should_panic] -#[case(server_no_stderr(&["--enable-webdav", "--no-symlinks"]), false)] +#[case(server(&["--enable-webdav", "--no-symlinks"]), false)] fn webdav_respects_no_symlink_flag(#[case] server: TestServer, #[case] symlinks_should_show: bool) { let list = list_webdav(server.url(), "/").unwrap(); |