about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Moelius <samuel.moelius@trailofbits.com>2025-03-10 22:55:21 +0000
committerSamuel Moelius <sam@moeli.us>2025-05-19 19:29:06 -0400
commit6cea9ccf0f256e00936baf1db0cfbb223a5e8812 (patch)
tree9a63596d80bea42b1df8c30ca413b44c20a0e072
parent8e5b0cdae1aaffcee5455852cb0eec0c6b56b17f (diff)
downloadrust-6cea9ccf0f256e00936baf1db0cfbb223a5e8812.tar.gz
rust-6cea9ccf0f256e00936baf1db0cfbb223a5e8812.zip
Replace `string_to_string` with `char_lit_as_u8` in driver.sh
-rwxr-xr-x.github/driver.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/driver.sh b/.github/driver.sh
index 5a81b411291..2874aaf2110 100755
--- a/.github/driver.sh
+++ b/.github/driver.sh
@@ -47,9 +47,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/string_to_string.rs 2>string_to_string.stderr && exit 1
-sed -e "/= help: for/d" string_to_string.stderr > normalized.stderr
-diff -u normalized.stderr tests/ui/string_to_string.stderr
+./target/debug/clippy-driver -Dwarnings -Aunused -Zui-testing --emit metadata --crate-type bin tests/ui/char_lit_as_u8.rs 2>char_lit_as_u8.stderr && exit 1
+sed -e "/= help: for/d" char_lit_as_u8.stderr > normalized.stderr
+diff -u normalized.stderr tests/ui/char_lit_as_u8.stderr
 
 # make sure "clippy-driver --rustc --arg" and "rustc --arg" behave the same
 SYSROOT=$(rustc --print sysroot)