mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-04 05:54:40 +01:00
fix compilation
This commit is contained in:
parent
cb760ba45b
commit
4e4a0d9f67
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue