Implement @jackh726's suggestions

This commit is contained in:
Fabian Wolff 2021-05-09 22:31:49 +02:00
parent 439ef6d762
commit 3c0c3874fc
5 changed files with 67 additions and 79 deletions

View file

@ -8,7 +8,7 @@ use std::path::Path;
const ENTRY_LIMIT: usize = 1000;
// FIXME: The following limits should be reduced eventually.
const ROOT_ENTRY_LIMIT: usize = 1388;
const ISSUES_ENTRY_LIMIT: usize = 2557;
const ISSUES_ENTRY_LIMIT: usize = 2551;
fn check_entries(path: &Path, bad: &mut bool) {
let dirs = walkdir::WalkDir::new(&path.join("test/ui"))