about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTakayuki Nakata <f.seasons017@gmail.com>2020-10-29 01:02:09 +0900
committerTakayuki Nakata <f.seasons017@gmail.com>2020-10-29 01:02:09 +0900
commitc42a22d2dcae233b43e1d8b8a2f90dd580ca2136 (patch)
tree434ca2db8a280e726af21a318d4e3220e24f48ce
parentffc2e666710cf5b6b97a162dfa01fc1fe4452af2 (diff)
downloadrust-c42a22d2dcae233b43e1d8b8a2f90dd580ca2136.tar.gz
rust-c42a22d2dcae233b43e1d8b8a2f90dd580ca2136.zip
Use `double_neg.stderr`
-rw-r--r--.github/driver.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/driver.sh b/.github/driver.sh
index fc4dca5042b..e9054c459ed 100644
--- a/.github/driver.sh
+++ b/.github/driver.sh
@@ -22,9 +22,9 @@ unset CARGO_MANIFEST_DIR
 
 # Run a lint and make sure it produces the expected output. It's also expected to exit with code 1
 # FIXME: How to match the clippy invocation in compile-test.rs?
-./target/debug/clippy-driver -Dwarnings -Aunused -Zui-testing --emit metadata --crate-type bin tests/ui/cast.rs 2> cast.stderr && exit 1
-sed -e "s,tests/ui,\$DIR," -e "/= help/d" cast.stderr > normalized.stderr
-diff normalized.stderr tests/ui/cast.stderr
+./target/debug/clippy-driver -Dwarnings -Aunused -Zui-testing --emit metadata --crate-type bin tests/ui/double_neg.rs 2> double_neg.stderr && exit 1
+sed -e "s,tests/ui,\$DIR," -e "/= help/d" double_neg.stderr > normalized.stderr
+diff normalized.stderr tests/ui/double_neg.stderr
 
 
 # make sure "clippy-driver --rustc --arg" and "rustc --arg" behave the same