From 4e4a0d9f67b4ef9d70c3b752363be09b45782db4 Mon Sep 17 00:00:00 2001 From: Yann Simon Date: Sat, 30 Nov 2024 15:14:53 +0100 Subject: [PATCH] fix compilation --- axum/src/response/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/axum/src/response/mod.rs b/axum/src/response/mod.rs index 00dc00cc..47c71d0e 100644 --- a/axum/src/response/mod.rs +++ b/axum/src/response/mod.rs @@ -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]