mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-21 14:46:32 +01:00
Fix comment in testing example
This commit is contained in:
parent
773bb5db69
commit
9d0e634285
1 changed files with 2 additions and 3 deletions
|
@ -58,12 +58,11 @@ mod tests {
|
|||
extract::connect_info::MockConnectInfo,
|
||||
http::{self, Request, StatusCode},
|
||||
};
|
||||
use http_body_util::BodyExt;
|
||||
use http_body_util::BodyExt; // for `collect`
|
||||
use serde_json::{json, Value};
|
||||
use std::net::SocketAddr;
|
||||
use tokio::net::TcpListener;
|
||||
use tower::Service; // for `call`
|
||||
use tower::ServiceExt; // for `oneshot` and `ready` // for `collect`
|
||||
use tower::{Service, ServiceExt}; // for `call`, `oneshot`, and `ready`
|
||||
|
||||
#[tokio::test]
|
||||
async fn hello_world() {
|
||||
|
|
Loading…
Reference in a new issue