From df1095dfe79e199128bd605777dd0f3e58487e46 Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Mon, 1 May 2017 12:42:21 -0700 Subject: [PATCH] test(http): fix Body.concat test --- src/http/body.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http/body.rs b/src/http/body.rs index ce5b87dad2..660adce576 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"); }