diff --git a/tests/h2-tests/tests/flow_control.rs b/tests/h2-tests/tests/flow_control.rs index f034041..3ca65ac 100644 --- a/tests/h2-tests/tests/flow_control.rs +++ b/tests/h2-tests/tests/flow_control.rs @@ -350,7 +350,7 @@ async fn stream_error_release_connection_capacity() { should_recv_bytes -= bytes.len(); should_recv_frames -= 1; if should_recv_bytes == 0 { - assert_eq!(should_recv_bytes, 0); + assert_eq!(should_recv_frames, 0); } Ok(()) })