Skip to content

Commit 3390c51

Browse files
committed
Fix two occurences of TESTNAME=ui/foo_functions
This commit fixes two occurences of the wrong path to the foo_functions example test in doc/adding-lints.md
1 parent 313b41f commit 3390c51

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)