From 8dad9f620572ab1371f93bcdd10c8d2e8d3686ec Mon Sep 17 00:00:00 2001 From: Ali MJ Al-Nasrawy Date: Thu, 26 Aug 2021 18:38:13 +0300 Subject: new partial-injection syntax --- tests/archive.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/archive.rs') 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)?; -- cgit v1.2.3