chore(ci): run check and clippy on tests and benches too (#4587)

This commit is contained in:
Alexey Shekhirin
2023-09-14 17:19:42 +01:00
committed by GitHub
parent 723036b310
commit a8e0880a98
5 changed files with 21 additions and 34 deletions

View File

@ -772,10 +772,10 @@ mod tests {
let expected = blocks
.iter()
.cloned()
// filter anything after the second missing range to ensure we don't expect trailing
// `None`s
.filter(|b| !second_missing_range.contains(&b.number))
.cloned()
.map(|b| {
if first_missing_range.contains(&b.number) {
None