fix(iterators5): balance test fixture

It was easy to write the filter in `count_iterator` incorrectly, as there are as many `Complete`d entries as there are other entries. This means both `.filter(|v| v == &value)` and `.filter(|v| != &value)` give the same result. This balances out so the number is different and the mistake will be caught appropriately.
This commit is contained in:
Dominykas Djačenko 2021-05-19 01:33:26 -07:00 committed by GitHub
parent 4da9e7ee29
commit 9894f660fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,6 +102,7 @@ mod tests {
map.insert(String::from("arc1"), Some); map.insert(String::from("arc1"), Some);
map.insert(String::from("as_ref_mut"), None); map.insert(String::from("as_ref_mut"), None);
map.insert(String::from("from_str"), None); map.insert(String::from("from_str"), None);
map.insert(String::from("using_as"), None);
map map
} }