From 8125cb0874049ea864790254a930561f2a54d1b5 Mon Sep 17 00:00:00 2001 From: Denis Cornehl Date: Thu, 2 Jan 2025 10:07:00 +0100 Subject: [PATCH] revert test change --- src/web/statics.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/web/statics.rs b/src/web/statics.rs index 8ca53e185..ebdd78e34 100644 --- a/src/web/statics.rs +++ b/src/web/statics.rs @@ -165,12 +165,7 @@ mod tests { let web = env.web_app().await; let resp = web.get(path).await?; - if !resp.status().is_success() { - let status = resp.status(); - dbg!(&resp.text().await); - assert!(status.is_success(), "{}", status); - panic!("as"); - } + assert!(resp.status().is_success()); resp.assert_cache_control(CachePolicy::ForeverInCdnAndBrowser, &env.config()); assert_eq!( resp.headers().get("Content-Type"),