Skip to content

Commit 3da200d

Browse files
committed
print proper relative path for descriptive name check
1 parent 2dc0170 commit 3da200d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/tools/tidy/src/ui_tests.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ pub fn check(path: &Path, bless: bool, bad: &mut bool) {
162162
if !remaining_issue_names.remove(stripped_path) {
163163
tidy_error!(
164164
bad,
165-
"file `{stripped_path}` must begin with a descriptive name, consider `{{reason}}-issue-{issue_n}.rs`",
165+
"file `tests/{stripped_path}` must begin with a descriptive name, consider `{{reason}}-issue-{issue_n}.rs`",
166166
issue_n = &test_name[1],
167167
);
168168
}

0 commit comments

Comments
 (0)