Skip to content

Commit ad35979

Browse files
committed
Move some tests to more reasonable directories - 2
Address comments Update limits
1 parent 63a83c5 commit ad35979

File tree

190 files changed

+3
-69
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

190 files changed

+3
-69
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/test/ui/issues/issue-15881-model-lexer-dotdotdot.rs

-38
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/test/ui/non-built-in-quote.rs

-8
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/test/ui/typestate-cfg-nesting.rs

-20
This file was deleted.

src/tools/tidy/src/ui_tests.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ use std::path::Path;
77

88
const ENTRY_LIMIT: usize = 1000;
99
// FIXME: The following limits should be reduced eventually.
10-
const ROOT_ENTRY_LIMIT: usize = 1500;
11-
const ISSUES_ENTRY_LIMIT: usize = 2830;
10+
const ROOT_ENTRY_LIMIT: usize = 1458;
11+
const ISSUES_ENTRY_LIMIT: usize = 2669;
1212

1313
fn check_entries(path: &Path, bad: &mut bool) {
1414
let dirs = walkdir::WalkDir::new(&path.join("test/ui"))
@@ -30,7 +30,7 @@ fn check_entries(path: &Path, bad: &mut bool) {
3030
};
3131

3232
let count = std::fs::read_dir(dir_path).unwrap().count();
33-
if count >= limit {
33+
if count > limit {
3434
tidy_error!(
3535
bad,
3636
"following path contains more than {} entries, \

0 commit comments

Comments
 (0)