Test cleanup
Some checks failed
Rust Build / Check (pull_request) Successful in 1m4s
Rust Build / Test Suite (pull_request) Failing after 1m2s
Rust Build / Rustfmt (pull_request) Successful in 26s
Rust Build / Clippy (pull_request) Successful in 52s
Rust Build / build (pull_request) Successful in 1m30s
Some checks failed
Rust Build / Check (pull_request) Successful in 1m4s
Rust Build / Test Suite (pull_request) Failing after 1m2s
Rust Build / Rustfmt (pull_request) Successful in 26s
Rust Build / Clippy (pull_request) Successful in 52s
Rust Build / build (pull_request) Successful in 1m30s
This commit is contained in:
@@ -43,13 +43,14 @@ mod tests {
|
|||||||
use axum::{
|
use axum::{
|
||||||
body::Body,
|
body::Body,
|
||||||
extract::connect_info::MockConnectInfo,
|
extract::connect_info::MockConnectInfo,
|
||||||
http::{self, Request, StatusCode},
|
http::{Request, StatusCode},
|
||||||
};
|
};
|
||||||
use http_body_util::BodyExt;
|
use http_body_util::BodyExt;
|
||||||
// use http_body_util::BodyExt; // for `collect`
|
// use http_body_util::BodyExt; // for `collect`
|
||||||
use serde_json::{Value, json};
|
// use serde_json::{Value, json};
|
||||||
use tokio::net::TcpListener;
|
// use tokio::net::TcpListener;
|
||||||
use tower::{Service, ServiceExt}; // for `call`, `oneshot`, and `ready`
|
// use tower::{Service, ServiceExt}; // for `call`, `oneshot`, and `ready`
|
||||||
|
use tower::ServiceExt; // for `call`, `oneshot`, and `ready`
|
||||||
|
|
||||||
#[tokio::test]
|
#[tokio::test]
|
||||||
async fn hello_world() {
|
async fn hello_world() {
|
||||||
|
Reference in New Issue
Block a user