Skip to content

Commit 25e8639

Browse files
committed
Fix clippy driver stderr test
1 parent d780573 commit 25e8639

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/driver.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ unset CARGO_MANIFEST_DIR
3030
# Run a lint and make sure it produces the expected output. It's also expected to exit with code 1
3131
# FIXME: How to match the clippy invocation in compile-test.rs?
3232
./target/debug/clippy-driver -Dwarnings -Aunused -Zui-testing --emit metadata --crate-type bin tests/ui/double_neg.rs 2>double_neg.stderr && exit 1
33-
sed -e "s,tests/ui,\$DIR," -e "/= help/d" double_neg.stderr >normalized.stderr
33+
sed -e "s,tests/ui,\$DIR," -e "/= help: for/d" double_neg.stderr > normalized.stderr
3434
diff -u normalized.stderr tests/ui/double_neg.stderr
3535

3636
# make sure "clippy-driver --rustc --arg" and "rustc --arg" behave the same

0 commit comments

Comments
 (0)