We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8420a08 + dc87b28 commit 2a01963Copy full SHA for 2a01963
1 file changed
src/tools/tidy/src/ui_tests.rs
@@ -302,7 +302,7 @@ fn deny_new_nondescriptive_test_names(
302
&& !stripped_path.starts_with("ui/issues/")
303
{
304
check.error(format!(
305
- "file `tests/{stripped_path}` must begin with a descriptive name, consider `{{reason}}-issue-{issue_n}.rs`",
+ "issue-number-only test names are not descriptive, consider renaming file `tests/{stripped_path}` to `{{reason}}-issue-{issue_n}.rs`",
306
issue_n = &test_name[1],
307
));
308
}
0 commit comments