diff --git a/tests/client.rs b/tests/client.rs index 5fa9a3532..9bb27001c 100644 --- a/tests/client.rs +++ b/tests/client.rs @@ -87,14 +87,12 @@ async fn donot_set_content_length_0_if_have_no_body() { #[cfg(feature = "http3")] #[tokio::test] async fn http3_request_full() { - //use http_body_util::BodyExt; + use http_body_util::BodyExt; let server = server::http3(move |_req| async move { - /* assert_eq!(req.headers()[CONTENT_LENGTH], "5"); let reqb = req.collect().await.unwrap().to_bytes(); assert_eq!(reqb, "hello"); - */ http::Response::default() });