Skip to content

Commit cbe38c1

Browse files
KixironJoshua Nelson
and
Joshua Nelson
authored
Update src/web/statics.rs
Co-authored-by: Joshua Nelson <[email protected]>
1 parent 34af784 commit cbe38c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/web/statics.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ serve_static_files! {
8686
fn static_file_that_doesnt_exist() {
8787
crate::test::wrapper(|env| {
8888
let web = env.frontend();
89-
assert!(web
89+
assert_eq!(web
9090
.get("/-/static/whoop-de-do.png")
9191
.send()?
9292
.status()
93-
.is_client_error());
93+
.as_u16(), 404);
9494

9595
Ok(())
9696
});

0 commit comments

Comments
 (0)