Skip to content

Commit c9433a4

Browse files
authored
Rollup merge of #111262 - ChrisDenton:normalize-msvc-output, r=cjgillot
Further normalize msvc-non-utf8-ouput Fixes #111256 by normalizing this tests down to the essential part so that it only tests for the Unicode output we expect. Also uses a file name that should never occur outside of this test.
2 parents aceb5d9 + 26b413e commit c9433a4

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// build-fail
2-
// compile-flags:-C link-arg=märchenhaft
2+
// compile-flags:-C link-arg=⦺ⅈ⽯⭏⽽◃⡽⚞
33
// only-msvc
4-
// error-pattern:= note: LINK : fatal error LNK1181:
5-
// normalize-stderr-test "(\s*\|\n)\s*= note: .*\n" -> "$1"
4+
// normalize-stderr-test "(?:.|\n)*(⦺ⅈ⽯⭏⽽◃⡽⚞)(?:.|\n)*" -> "$1"
65
pub fn main() {}
Original file line numberDiff line numberDiff line change
@@ -1,7 +1 @@
1-
error: linking with `link.exe` failed: exit code: 1181
2-
|
3-
= note: LINK : fatal error LNK1181: cannot open input file 'märchenhaft.obj'
4-
5-
6-
error: aborting due to previous error
7-
1+
⦺ⅈ⽯⭏⽽◃⡽⚞

0 commit comments

Comments
 (0)