Skip to content

Commit 1a83981

Browse files
committed
revert test change
1 parent 6a06658 commit 1a83981

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/web/statics.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -165,12 +165,7 @@ mod tests {
165165
let web = env.web_app().await;
166166

167167
let resp = web.get(path).await?;
168-
if !resp.status().is_success() {
169-
let status = resp.status();
170-
dbg!(&resp.text().await);
171-
assert!(status.is_success(), "{}", status);
172-
panic!("as");
173-
}
168+
assert!(resp.status().is_success());
174169
resp.assert_cache_control(CachePolicy::ForeverInCdnAndBrowser, &env.config());
175170
assert_eq!(
176171
resp.headers().get("Content-Type"),

0 commit comments

Comments
 (0)