Skip to content

Commit a7880d6

Browse files
committed
tests: fix http3 tests
1 parent c32d877 commit a7880d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ async fn donot_set_content_length_0_if_have_no_body() {
8989
async fn http3_request_full() {
9090
use http_body_util::BodyExt;
9191

92-
let server = server::http3(move |_req| async move {
92+
let server = server::http3(move |req| async move {
9393
assert_eq!(req.headers()[CONTENT_LENGTH], "5");
9494
let reqb = req.collect().await.unwrap().to_bytes();
9595
assert_eq!(reqb, "hello");

0 commit comments

Comments
 (0)