Fix test not checking should_recv_frames

This commit is contained in:
Sean McArthur
2020-07-07 09:48:14 -07:00
parent ceae69b468
commit d6fa8386c4

View File

@@ -350,7 +350,7 @@ async fn stream_error_release_connection_capacity() {
should_recv_bytes -= bytes.len(); should_recv_bytes -= bytes.len();
should_recv_frames -= 1; should_recv_frames -= 1;
if should_recv_bytes == 0 { if should_recv_bytes == 0 {
assert_eq!(should_recv_bytes, 0); assert_eq!(should_recv_frames, 0);
} }
Ok(()) Ok(())
}) })