Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
CONTRIBUTING: clarify how to regenerate ui test output
  • Loading branch information
birkenfeld committed Nov 18, 2017
1 parent 296edda commit 3d26c7b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CONTRIBUTING.md
Expand Up @@ -70,8 +70,9 @@ Please document your lint with a doc comment akin to the following:

Clippy uses UI tests. UI tests check that the output of the compiler is exactly as expected.
Of course there's little sense in writing the output yourself or copying it around.
Therefore you can simply run `tests/ui/update-all-references.sh` and check whether
the output looks as you expect with `git diff`. Commit all `*.stderr` files, too.
Therefore you can simply run `tests/ui/update-all-references.sh` (after running
`cargo test`) and check whether the output looks as you expect with `git diff`. Commit all
`*.stderr` files, too.

### Testing manually

Expand Down

0 comments on commit 3d26c7b

Please sign in to comment.