Skip to content

Commit 404d8ee

Browse files
committed
Make normalization step in tests/run-make/linker-warning more robust
1 parent a015919 commit 404d8ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run-make/linker-warning/rmake.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ fn main() {
6161
diff()
6262
.expected_file("short-error.txt")
6363
.actual_text("(linker error)", out.stderr())
64-
.normalize(r#"/rustc[^/_-]*/"#, "/rustc/")
64+
.normalize(r#"^/rustc[^/_-]*/"#, "/rustc/")
6565
.normalize("libpanic_abort", "libpanic_unwind")
6666
.normalize(
6767
regex::escape(

0 commit comments

Comments
 (0)