Skip to content

Commit 6a90194

Browse files
committed
test: update client_http2_upgrade test
1 parent 69e57a9 commit 6a90194

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/legacy_client.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -859,9 +859,7 @@ fn client_http2_upgrade() {
859859
io.write_all(b"bar=foo").await.unwrap();
860860
});
861861

862-
Ok::<_, hyper::Error>(Response::new(Full::<Bytes>::new(Bytes::from_static(
863-
b"foobar=ready",
864-
))))
862+
Ok::<_, hyper::Error>(Response::new(Empty::<Bytes>::new()))
865863
}),
866864
)
867865
.await

0 commit comments

Comments
 (0)