File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ test "$sysroot" = $desired_sysroot
2727# Make sure this isn't set - clippy-driver should cope without it
2828unset CARGO_MANIFEST_DIR
2929
30- # Run a lint and make sure it produces the expected output. It's also expected to exit with code 1
30+ # Run a lint and make sure it produces the expected output. It's also expected to exit with code 0
3131# FIXME: How to match the clippy invocation in compile-test.rs?
32- ./target/debug/clippy-driver -Dwarnings - Aunused -Zui-testing --emit metadata --crate-type bin tests/ui/double_neg.rs 2> double_neg.stderr && exit 1
32+ ./target/debug/clippy-driver -Aunused -Zui-testing --emit metadata --crate-type bin tests/ui/double_neg.rs 2> double_neg.stderr || exit 1
3333sed -e " s,tests/ui,\$ DIR," -e " /= help/d" double_neg.stderr > normalized.stderr
3434diff -u normalized.stderr tests/ui/double_neg.stderr
3535
You can’t perform that action at this time.
0 commit comments