mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
Rollup merge of #4459 - JohnTitor:update-testing-notes, r=flip1995
Add note to avoid confusing Fixes #4456 changelog: none
This commit is contained in:
commit
ad43d68ea2
1 changed files with 2 additions and 0 deletions
|
@ -86,6 +86,8 @@ 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`
|
||||
every time before running `tests/ui/update-all-references.sh`.
|
||||
Running `TESTNAME=ui/foo_functions cargo uitest` should pass then. When we
|
||||
commit our lint, we need to commit the generated `.stderr` files, too.
|
||||
|
||||
|
|
Loading…
Reference in a new issue