aboutsummaryrefslogtreecommitdiffstats
path: root/tests/raw.rs
diff options
context:
space:
mode:
authorjikstra <jikstra@disroot.org>2021-09-10 13:51:08 +0000
committerjikstra <jikstra@disroot.org>2021-09-10 13:51:08 +0000
commit71ba52ec5dc84591ead1ac64e584f990b7d66615 (patch)
treebcd3590de3dfa80d57caba81855d75209f5593e8 /tests/raw.rs
parentcargo fmt & cargo clippy (diff)
downloadminiserve-71ba52ec5dc84591ead1ac64e584f990b7d66615.tar.gz
miniserve-71ba52ec5dc84591ead1ac64e584f990b7d66615.zip
Apply requested changes
Diffstat (limited to 'tests/raw.rs')
-rw-r--r--tests/raw.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/raw.rs b/tests/raw.rs
index 6e0c2a0..55003be 100644
--- a/tests/raw.rs
+++ b/tests/raw.rs
@@ -94,8 +94,6 @@ fn raw_mode_links_to_directories_end_with_raw_true(server: TestServer) -> Result
// Ensure the links to the archives are not present
for url in urls.iter() {
let body = client.get(url).send()?.error_for_status()?;
-
- let body = client.get(url).send()?.error_for_status()?;
let parsed = Document::from_read(body)?;
verify_a_tags(parsed);
}