Skip to content

Commit

Permalink
bump tidy's src/test/ui file limit
Browse files Browse the repository at this point in the history
This commit addresses a tidy error that currently occurs on this branch:

```
tidy error:
    following path contains more than 1458 entries,
    you should move the test to some relevant
    subdirectory (current: 1459): /checkout/src/test/ui
```

Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
  • Loading branch information
katelyn a. martin and bjorn3 committed Jan 27, 2021
1 parent 15fb65e commit 5d75cde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/tidy/src/ui_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use std::path::Path;

const ENTRY_LIMIT: usize = 1000;
// FIXME: The following limits should be reduced eventually.
const ROOT_ENTRY_LIMIT: usize = 1458;
const ROOT_ENTRY_LIMIT: usize = 1459;
const ISSUES_ENTRY_LIMIT: usize = 2669;

fn check_entries(path: &Path, bad: &mut bool) {
Expand Down

0 comments on commit 5d75cde

Please sign in to comment.