aboutsummaryrefslogtreecommitdiffstats
path: root/tests/archive.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/archive.rs')
-rw-r--r--tests/archive.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/archive.rs b/tests/archive.rs
index eba38bc..b8def22 100644
--- a/tests/archive.rs
+++ b/tests/archive.rs
@@ -32,8 +32,8 @@ fn archives_are_disabled(server: TestServer) -> Result<(), Error> {
Ok(())
}
-#[rstest(server(&["-g"]))]
-fn test_tar_archives(server: TestServer) -> Result<(), Error> {
+#[rstest]
+fn test_tar_archives(#[with(&["-g"])] server: TestServer) -> Result<(), Error> {
// Ensure the links to the tar archive exists and tar not exists
let body = reqwest::blocking::get(server.url())?.error_for_status()?;
let parsed = Document::from_read(body)?;