test(http): fix Body.concat test

This commit is contained in:
Sean McArthur
2017-05-01 12:42:21 -07:00
parent 6faa653f0d
commit df1095dfe7

View File

@@ -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");
}