Skip to content

Commit 9a4d5b3

Browse files
Auto merge of #146982 - fmease:fix-rmake-linker-warning, r=<try>
Make normalization step in `tests/run-make/linker-warning` more robust try-job: x86_64-gnu
2 parents e9385f9 + 404d8ee commit 9a4d5b3

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)