File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ unset CARGO_MANIFEST_DIR
22
22
23
23
# Run a lint and make sure it produces the expected output. It's also expected to exit with code 1
24
24
# FIXME: How to match the clippy invocation in compile-test.rs?
25
- ./target/debug/clippy-driver -Dwarnings -Aunused -Zui-testing --emit metadata --crate-type bin tests/ui/cast .rs 2> cast .stderr && exit 1
26
- sed -e " s,tests/ui,\$ DIR," -e " /= help/d" cast .stderr > normalized.stderr
27
- diff normalized.stderr tests/ui/cast .stderr
25
+ ./target/debug/clippy-driver -Dwarnings -Aunused -Zui-testing --emit metadata --crate-type bin tests/ui/double_neg .rs 2> double_neg .stderr && exit 1
26
+ sed -e " s,tests/ui,\$ DIR," -e " /= help/d" double_neg .stderr > normalized.stderr
27
+ diff normalized.stderr tests/ui/double_neg .stderr
28
28
29
29
30
30
# make sure "clippy-driver --rustc --arg" and "rustc --arg" behave the same
You can’t perform that action at this time.
0 commit comments