about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorChris Denton <chris@chrisdenton.dev>2023-05-05 18:54:06 +0100
committerChris Denton <chris@chrisdenton.dev>2023-05-05 18:54:06 +0100
commit26b413eb2ec6fe782e4659998ab0e91be1528401 (patch)
tree85c41566ea16500d1d336a5adf2d107fdc01abd2 /tests
parent4a18324a4df6bc98bec0b54d35908d7a9cdc7c32 (diff)
downloadrust-26b413eb2ec6fe782e4659998ab0e91be1528401.tar.gz
rust-26b413eb2ec6fe782e4659998ab0e91be1528401.zip
Further normalize msvc-non-utf8-ouput
Diffstat (limited to 'tests')
-rw-r--r--tests/ui/native-library-link-flags/msvc-non-utf8-output.rs5
-rw-r--r--tests/ui/native-library-link-flags/msvc-non-utf8-output.stderr8
2 files changed, 3 insertions, 10 deletions
diff --git a/tests/ui/native-library-link-flags/msvc-non-utf8-output.rs b/tests/ui/native-library-link-flags/msvc-non-utf8-output.rs
index 3fb2842d694..19b9a17705b 100644
--- a/tests/ui/native-library-link-flags/msvc-non-utf8-output.rs
+++ b/tests/ui/native-library-link-flags/msvc-non-utf8-output.rs
@@ -1,6 +1,5 @@
 // build-fail
-// compile-flags:-C link-arg=märchenhaft
+// compile-flags:-C link-arg=⦺ⅈ⽯⭏⽽◃⡽⚞
 // only-msvc
-// error-pattern:= note: LINK : fatal error LNK1181:
-// normalize-stderr-test "(\s*\|\n)\s*= note: .*\n" -> "$1"
+// normalize-stderr-test "(?:.|\n)*(⦺ⅈ⽯⭏⽽◃⡽⚞)(?:.|\n)*" -> "$1"
 pub fn main() {}
diff --git a/tests/ui/native-library-link-flags/msvc-non-utf8-output.stderr b/tests/ui/native-library-link-flags/msvc-non-utf8-output.stderr
index f843aad782c..7f3ef376447 100644
--- a/tests/ui/native-library-link-flags/msvc-non-utf8-output.stderr
+++ b/tests/ui/native-library-link-flags/msvc-non-utf8-output.stderr
@@ -1,7 +1 @@
-error: linking with `link.exe` failed: exit code: 1181
-   |
-   = note: LINK : fatal error LNK1181: cannot open input file 'märchenhaft.obj'
-           
-
-error: aborting due to previous error
-
+⦺ⅈ⽯⭏⽽◃⡽⚞
\ No newline at end of file