Skip to content

Commit

Permalink
fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
yanns committed Nov 30, 2024
1 parent cb760ba commit 4e4a0d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions axum/src/response/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -526,10 +526,10 @@ mod tests {

let client = TestClient::new(app);

let res = client.get("/").send().await;
let res = client.get("/").await;
assert_eq!(res.status(), StatusCode::INTERNAL_SERVER_ERROR);

let res = client.get("/two").send().await;
let res = client.get("/two").await;
assert_eq!(res.status(), StatusCode::IM_A_TEAPOT);
}
#[test]
Expand Down

0 comments on commit 4e4a0d9

Please sign in to comment.