Skip to content

Commit c3d4294

Browse files
committed
Auto merge of #4506 - derivmug:fix-add-lint-example, r=phansch
Fix two occurences of TESTNAME=ui/foo_functions changelog: Fix two occurrences of the wrong path to the foo_functions test in doc/adding_lints.md This PR fixes the other two wrong paths to the example test. I already created a PR yesterday but only changed one. The old command was `TESTNAME=ui/foo_functions cargo uitest` and is now `TESTNAME=foo_functions cargo uitest`.
2 parents 313b41f + 3390c51 commit c3d4294

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/adding_lints.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ test. That allows us to check if the output is turning into what we want.
8686

8787
Once we are satisfied with the output, we need to run
8888
`tests/ui/update-all-references.sh` to update the `.stderr` file for our lint.
89-
Please note that, we should run `TESTNAME=ui/foo_functions cargo uitest`
89+
Please note that, we should run `TESTNAME=foo_functions cargo uitest`
9090
every time before running `tests/ui/update-all-references.sh`.
91-
Running `TESTNAME=ui/foo_functions cargo uitest` should pass then. When we
91+
Running `TESTNAME=foo_functions cargo uitest` should pass then. When we
9292
commit our lint, we need to commit the generated `.stderr` files, too.
9393

9494
### Rustfix tests

0 commit comments

Comments
 (0)