diff options
| author | Luca Beetz <luca-beetz@tutanota.com> | 2019-09-06 00:54:49 +0200 |
|---|---|---|
| committer | Luca Beetz <luca-beetz@tutanota.com> | 2019-09-06 00:54:49 +0200 |
| commit | 3390c512bcc587cf129348e5195ee96bcacd4f66 (patch) | |
| tree | 94d562eb13897a527e95be80a95371569bd879f3 | |
| parent | 313b41fac5f3e1133aa942d510de41e383830c81 (diff) | |
| download | rust-3390c512bcc587cf129348e5195ee96bcacd4f66.tar.gz rust-3390c512bcc587cf129348e5195ee96bcacd4f66.zip | |
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
| -rw-r--r-- | doc/adding_lints.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/adding_lints.md b/doc/adding_lints.md index 1f443000d6b..20810f0cab8 100644 --- a/doc/adding_lints.md +++ b/doc/adding_lints.md @@ -86,9 +86,9 @@ test. That allows us to check if the output is turning into what we want. Once we are satisfied with the output, we need to run `tests/ui/update-all-references.sh` to update the `.stderr` file for our lint. -Please note that, we should run `TESTNAME=ui/foo_functions cargo uitest` +Please note that, we should run `TESTNAME=foo_functions cargo uitest` every time before running `tests/ui/update-all-references.sh`. -Running `TESTNAME=ui/foo_functions cargo uitest` should pass then. When we +Running `TESTNAME=foo_functions cargo uitest` should pass then. When we commit our lint, we need to commit the generated `.stderr` files, too. ### Rustfix tests |
