Fix tests & bug introduced in previous commit

This commit is contained in:
Carl Lerche
2017-08-24 16:48:01 -07:00
parent b0e6867877
commit c0433e8831
3 changed files with 5 additions and 5 deletions

View File

@@ -75,7 +75,7 @@ fn send_recv_data() {
let mut stream = h2.request(request, false).unwrap();
// Reserve send capacity
stream.reserve_capacity(5).unwrap();
stream.reserve_capacity(5);
assert_eq!(stream.capacity(), 5);