Skip to content

Commit c32d877

Browse files
committed
tests: enable http3 content-length test
1 parent ce3b30e commit c32d877

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/client.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,12 @@ async fn donot_set_content_length_0_if_have_no_body() {
8787
#[cfg(feature = "http3")]
8888
#[tokio::test]
8989
async fn http3_request_full() {
90-
//use http_body_util::BodyExt;
90+
use http_body_util::BodyExt;
9191

9292
let server = server::http3(move |_req| async move {
93-
/*
9493
assert_eq!(req.headers()[CONTENT_LENGTH], "5");
9594
let reqb = req.collect().await.unwrap().to_bytes();
9695
assert_eq!(reqb, "hello");
97-
*/
9896
http::Response::default()
9997
});
10098

0 commit comments

Comments
 (0)