mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-27 00:00:24 +02:00
Use IntoFuture for test RequestBuilder (#2470)
This commit is contained in:
@@ -224,7 +224,6 @@ mod tests {
|
||||
]
|
||||
.join("\n"),
|
||||
)
|
||||
.send()
|
||||
.await;
|
||||
assert_eq!(res.status(), StatusCode::OK);
|
||||
}
|
||||
@@ -245,7 +244,7 @@ mod tests {
|
||||
|
||||
let client = TestClient::new(app);
|
||||
|
||||
let res = client.get("/").send().await;
|
||||
let res = client.get("/").await;
|
||||
|
||||
let values = res
|
||||
.text()
|
||||
|
||||
Reference in New Issue
Block a user