File tree 1 file changed +2
-2
lines changed
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
27
27
# Make sure this isn't set - clippy-driver should cope without it
28
28
unset CARGO_MANIFEST_DIR
29
29
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
31
31
# 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
33
33
sed -e " s,tests/ui,\$ DIR," -e " /= help/d" double_neg.stderr > normalized.stderr
34
34
diff -u normalized.stderr tests/ui/double_neg.stderr
35
35
You can’t perform that action at this time.
0 commit comments