chore: clearify tidy's error message
This commit is contained in:
parent
f889772d65
commit
1dfdfe8149
1 changed files with 1 additions and 1 deletions
|
|
@ -302,7 +302,7 @@ fn deny_new_nondescriptive_test_names(
|
|||
&& !stripped_path.starts_with("ui/issues/")
|
||||
{
|
||||
check.error(format!(
|
||||
"file `tests/{stripped_path}` must begin with a descriptive name, consider `{{reason}}-issue-{issue_n}.rs`",
|
||||
"the name of the file `tests/{stripped_path}` must begin with a descriptive prefix, consider `{{reason}}-issue-{issue_n}.rs`",
|
||||
issue_n = &test_name[1],
|
||||
));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue