diff options
author | Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | 2021-08-26 15:38:13 +0000 |
---|---|---|
committer | Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | 2021-08-26 15:38:13 +0000 |
commit | 8dad9f620572ab1371f93bcdd10c8d2e8d3686ec (patch) | |
tree | 89439bc8e5c772d95996542e992d95f8b96297a4 /tests/archive.rs | |
parent | address comments (diff) | |
download | miniserve-8dad9f620572ab1371f93bcdd10c8d2e8d3686ec.tar.gz miniserve-8dad9f620572ab1371f93bcdd10c8d2e8d3686ec.zip |
new partial-injection syntax
Diffstat (limited to '')
-rw-r--r-- | tests/archive.rs | 4 |
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)?; |