diff --git a/src/http/body.rs b/src/http/body.rs index ce5b87da..660adce5 100644 --- a/src/http/body.rs +++ b/src/http/body.rs @@ -126,7 +126,7 @@ fn test_body_stream_concat() { tx.send(Ok("world".into())).wait().unwrap(); }); - let total = body.concat2().wait().unwrap(); + let total = body.concat().wait().unwrap(); assert_eq!(total.as_ref(), b"hello world"); }