Skip to content

Commit 049800d

Browse files
committed
nit: ! is not on a condition and skips errexit
1 parent f3ace5e commit 049800d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/base-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ cargo test --features "debugging deny-warnings"
5151

5252
# Run a lint and make sure it produces the expected output. It's also expected to exit with code 1
5353
# FIXME: How to match the clippy invocation in compile-test.rs?
54-
! ./target/debug/clippy-driver -Dwarnings -Aunused -Zui-testing --emit metadata --crate-type bin tests/ui/cstring.rs 2> cstring.stderr
54+
./target/debug/clippy-driver -Dwarnings -Aunused -Zui-testing --emit metadata --crate-type bin tests/ui/cstring.rs 2> cstring.stderr && exit 1
5555
sed -e 's,tests/ui,$DIR,' -e '/= help/d' cstring.stderr > normalized.stderr
5656
diff normalized.stderr tests/ui/cstring.stderr
5757

0 commit comments

Comments
 (0)