Skip to content

Commit

Permalink
Update tests/histogram.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhoo authored Nov 11, 2023
1 parent 55fe6c1 commit 7429b51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/histogram.rs
Original file line number Diff line number Diff line change
Expand Up @@ -565,5 +565,5 @@ fn subtract_underflow_guarded_by_per_value_count_check() {
fn recorded_only_zeros() {
let mut h = Histogram::<u64>::new(1).unwrap();
h += 0;
assert_eq!(h.iter_recorded().collect::<Vec<_>>().len(), 1);
assert_eq!(h.iter_recorded().count(), 1);
}

0 comments on commit 7429b51

Please sign in to comment.