We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a06658 commit 1a83981Copy full SHA for 1a83981
src/web/statics.rs
@@ -165,12 +165,7 @@ mod tests {
165
let web = env.web_app().await;
166
167
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
- }
+ assert!(resp.status().is_success());
174
resp.assert_cache_control(CachePolicy::ForeverInCdnAndBrowser, &env.config());
175
assert_eq!(
176
resp.headers().get("Content-Type"),
0 commit comments