Skip to content

Commit df1095d

Browse files
committed
test(http): fix Body.concat test
1 parent 6faa653 commit df1095d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/http/body.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ fn test_body_stream_concat() {
126126
tx.send(Ok("world".into())).wait().unwrap();
127127
});
128128

129-
let total = body.concat2().wait().unwrap();
129+
let total = body.concat().wait().unwrap();
130130
assert_eq!(total.as_ref(), b"hello world");
131131

132132
}

0 commit comments

Comments
 (0)