Skip to content

Commit e1d7f00

Browse files
committed
fix command to manually test an example
1 parent 4511f4e commit e1d7f00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ Therefore you should use `tests/ui/update-all-references.sh` (after running
149149

150150
Manually testing against an example file is useful if you have added some
151151
`println!`s and test suite output becomes unreadable. To try Clippy with your
152-
local modifications, run `cargo run --bin clippy-driver -- -L ./target/debug input.rs` from the
153-
working copy root.
152+
local modifications, run `env CLIPPY_TESTS=true cargo run --bin clippy-driver -- -L ./target/debug input.rs`
153+
from the working copy root.
154154

155155
### How Clippy works
156156

0 commit comments

Comments
 (0)