Skip to content

Commit

Permalink
Add missing asserts to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianSchmid committed Nov 13, 2023
1 parent 7e0bbb9 commit ce5c3b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tp_pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,8 @@ mod tests {
// discard streams with a timestamp smaller then 125
pool.retain(|timestamp| *timestamp >= 125);

assert_eq!(1, pool.active.len());
assert_eq!(1, pool.finished.len());
assert_eq!(125, pool.active_bufs().get(&(3u16, 1u32)).unwrap().1);
}
}

0 comments on commit ce5c3b4

Please sign in to comment.