mirror of
https://github.com/tokio-rs/axum.git
synced 2026-02-06 11:17:48 +00:00
fix compilation
This commit is contained in:
parent
cb760ba45b
commit
4e4a0d9f67
@ -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]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user