Skip to content

Commit

Permalink
bbr2: fix clippy in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
PSUdaemon authored Sep 6, 2023
1 parent 4dc1483 commit 44c940e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions quiche/src/recovery/bbr2/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -844,12 +844,12 @@ mod tests {
)
.is_ok());

assert_eq!(r.bbr2_state.in_recovery, true);
assert!(r.bbr2_state.in_recovery);

// Stil in flight: 2, 3.
assert_eq!(r.bytes_in_flight, mss * 2);

assert_eq!(r.bbr2_state.newly_acked_bytes, mss * 1);
assert_eq!(r.bbr2_state.newly_acked_bytes, mss);

assert_eq!(r.cwnd(), mss * 3);
}
Expand Down Expand Up @@ -970,7 +970,7 @@ mod tests {
.is_ok());

assert_eq!(r.bbr2_state.state, BBR2StateMachine::Drain);
assert_eq!(r.bbr2_state.filled_pipe, true);
assert!(r.bbr2_state.filled_pipe);
assert!(r.bbr2_state.pacing_gain < 1.0);
}

Expand Down

0 comments on commit 44c940e

Please sign in to comment.