Skip to content

Commit

Permalink
Auto merge of #4501 - derivmug:update-lint-doc, r=phansch
Browse files Browse the repository at this point in the history
Remove ui/ from TESTNAME for foo lint example

changelog: Remove ui/ from TESTNAME in doc/adding-lints.md

This PR remove the `ui/` from the TESTNAME of the example foo lint in the 'Adding lints' documentation.
  • Loading branch information
bors committed Sep 4, 2019
2 parents e3ae76a + 47d89ae commit abbb7ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/adding_lints.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ fn main() {

```

Now we can run the test with `TESTNAME=ui/foo_functions cargo uitest`.
Now we can run the test with `TESTNAME=foo_functions cargo uitest`.
Currently this test will fail. If you go through the output you will see that we
are told that `clippy::foo_functions` is an unknown lint, which is expected.

Expand Down

0 comments on commit abbb7ee

Please sign in to comment.