Skip to content

Commit

Permalink
test(http): fix Body.concat test
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed May 1, 2017
1 parent 6faa653 commit df1095d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http/body.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");

}

0 comments on commit df1095d

Please sign in to comment.