From b84326ec9caca0c8877bc58a85a8c7814ca6c052 Mon Sep 17 00:00:00 2001 From: Michael Baikov Date: Fri, 22 Mar 2024 11:20:55 -0400 Subject: [PATCH] tests/ui: Add a directory for warnings, add a test --- src/tools/tidy/src/ui_tests.rs | 2 +- tests/ui/{issues => warnings}/no-explicit-path-issue-122509.rs | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename tests/ui/{issues => warnings}/no-explicit-path-issue-122509.rs (100%) diff --git a/src/tools/tidy/src/ui_tests.rs b/src/tools/tidy/src/ui_tests.rs index 22927cffd1b..015d0518a40 100644 --- a/src/tools/tidy/src/ui_tests.rs +++ b/src/tools/tidy/src/ui_tests.rs @@ -18,7 +18,7 @@ const ENTRY_LIMIT: usize = 900; // FIXME: The following limits should be reduced eventually. const ISSUES_ENTRY_LIMIT: usize = 1750; -const ROOT_ENTRY_LIMIT: usize = 859; +const ROOT_ENTRY_LIMIT: usize = 860; const EXPECTED_TEST_FILE_EXTENSIONS: &[&str] = &[ "rs", // test source files diff --git a/tests/ui/issues/no-explicit-path-issue-122509.rs b/tests/ui/warnings/no-explicit-path-issue-122509.rs similarity index 100% rename from tests/ui/issues/no-explicit-path-issue-122509.rs rename to tests/ui/warnings/no-explicit-path-issue-122509.rs