Skip to content

Commit

Permalink
tests: fix http3 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Jun 17, 2024
1 parent c32d877 commit a7880d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ async fn donot_set_content_length_0_if_have_no_body() {
async fn http3_request_full() {
use http_body_util::BodyExt;

let server = server::http3(move |_req| async move {
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");
Expand Down

0 comments on commit a7880d6

Please sign in to comment.