Skip to content

Commit 62d0533

Browse files
authored
Update error message for non-descriptive test files
1 parent 1dfdfe8 commit 62d0533

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tools/tidy/src/ui_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ fn deny_new_nondescriptive_test_names(
302302
&& !stripped_path.starts_with("ui/issues/")
303303
{
304304
check.error(format!(
305-
"the name of the file `tests/{stripped_path}` must begin with a descriptive prefix, consider `{{reason}}-issue-{issue_n}.rs`",
305+
"the name of the file `tests/{stripped_path}` is not descriptive, consider renaming to `{{reason}}-issue-{issue_n}.rs`",
306306
issue_n = &test_name[1],
307307
));
308308
}

0 commit comments

Comments
 (0)