summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/unicode
diff options
context:
space:
mode:
authorsheaf <sam.derbyshire@gmail.com>2022-09-13 10:22:05 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-09-13 10:27:53 -0400
commit362cca13858faf7e1158273780ea900e7dad5827 (patch)
tree468c06697b2a6ef3f65b79a469a131d279f71deb /testsuite/tests/parser/unicode
parent65a0bd69ac1fb59047cd4c8554a8fc756c7b3476 (diff)
downloadhaskell-362cca13858faf7e1158273780ea900e7dad5827.tar.gz
Diagnostic codes: acccept test changes
The testsuite output now contains diagnostic codes, so many tests need to be updated at once. We decided it was best to keep the diagnostic codes in the testsuite output, so that contributors don't inadvertently make changes to the diagnostic codes.
Diffstat (limited to 'testsuite/tests/parser/unicode')
-rw-r--r--testsuite/tests/parser/unicode/T18158b.stderr3
-rw-r--r--testsuite/tests/parser/unicode/T18225B.stderr4
-rw-r--r--testsuite/tests/parser/unicode/T2302.stderr2
-rw-r--r--testsuite/tests/parser/unicode/utf8_002.stderr3
-rw-r--r--testsuite/tests/parser/unicode/utf8_003.stderr3
-rw-r--r--testsuite/tests/parser/unicode/utf8_004.stderr3
-rw-r--r--testsuite/tests/parser/unicode/utf8_005.stderr3
-rw-r--r--testsuite/tests/parser/unicode/utf8_010.stderr2
-rw-r--r--testsuite/tests/parser/unicode/utf8_011.stderr2
-rw-r--r--testsuite/tests/parser/unicode/utf8_020.stderr2
-rw-r--r--testsuite/tests/parser/unicode/utf8_021.stderr2
-rw-r--r--testsuite/tests/parser/unicode/utf8_022.stderr2
12 files changed, 19 insertions, 12 deletions
diff --git a/testsuite/tests/parser/unicode/T18158b.stderr b/testsuite/tests/parser/unicode/T18158b.stderr
index a2148b3908..f5826cf40e 100644
--- a/testsuite/tests/parser/unicode/T18158b.stderr
+++ b/testsuite/tests/parser/unicode/T18158b.stderr
@@ -1,2 +1,3 @@
-T18158b.hs:1:14: error: lexical error at character '\8559'
+T18158b.hs:1:14: error: [GHC-21231]
+ lexical error at character '\8559'
diff --git a/testsuite/tests/parser/unicode/T18225B.stderr b/testsuite/tests/parser/unicode/T18225B.stderr
index 67cff08f21..eb48c5ca93 100644
--- a/testsuite/tests/parser/unicode/T18225B.stderr
+++ b/testsuite/tests/parser/unicode/T18225B.stderr
@@ -1 +1,3 @@
-T18225B.hs:11:23: Parse error in command: [| x |]
+
+T18225B.hs:11:23: error: [GHC-03790]
+ Parse error in command: [| x |]
diff --git a/testsuite/tests/parser/unicode/T2302.stderr b/testsuite/tests/parser/unicode/T2302.stderr
index e56021f5e5..c57aa2a2d2 100644
--- a/testsuite/tests/parser/unicode/T2302.stderr
+++ b/testsuite/tests/parser/unicode/T2302.stderr
@@ -1,2 +1,2 @@
-T2302.hs:2:5: error: Data constructor not in scope: À
+T2302.hs:2:5: error: [GHC-88464] Data constructor not in scope: À
diff --git a/testsuite/tests/parser/unicode/utf8_002.stderr b/testsuite/tests/parser/unicode/utf8_002.stderr
index d8083f0c89..50a895da04 100644
--- a/testsuite/tests/parser/unicode/utf8_002.stderr
+++ b/testsuite/tests/parser/unicode/utf8_002.stderr
@@ -1,2 +1,3 @@
-utf8_002.hs:2:1: lexical error (UTF-8 decoding error)
+utf8_002.hs:2:1: error: [GHC-21231]
+ lexical error (UTF-8 decoding error)
diff --git a/testsuite/tests/parser/unicode/utf8_003.stderr b/testsuite/tests/parser/unicode/utf8_003.stderr
index be433d9141..f91425cffd 100644
--- a/testsuite/tests/parser/unicode/utf8_003.stderr
+++ b/testsuite/tests/parser/unicode/utf8_003.stderr
@@ -1,2 +1,3 @@
-utf8_003.hs:2:1: lexical error (UTF-8 decoding error)
+utf8_003.hs:2:1: error: [GHC-21231]
+ lexical error (UTF-8 decoding error)
diff --git a/testsuite/tests/parser/unicode/utf8_004.stderr b/testsuite/tests/parser/unicode/utf8_004.stderr
index aff8256549..f0a83514e3 100644
--- a/testsuite/tests/parser/unicode/utf8_004.stderr
+++ b/testsuite/tests/parser/unicode/utf8_004.stderr
@@ -1,2 +1,3 @@
-utf8_004.hs:2:1: lexical error (UTF-8 decoding error)
+utf8_004.hs:2:1: error: [GHC-21231]
+ lexical error (UTF-8 decoding error)
diff --git a/testsuite/tests/parser/unicode/utf8_005.stderr b/testsuite/tests/parser/unicode/utf8_005.stderr
index 3d551bae44..1f193d0823 100644
--- a/testsuite/tests/parser/unicode/utf8_005.stderr
+++ b/testsuite/tests/parser/unicode/utf8_005.stderr
@@ -1,2 +1,3 @@
-utf8_005.hs:2:1: lexical error (UTF-8 decoding error)
+utf8_005.hs:2:1: error: [GHC-21231]
+ lexical error (UTF-8 decoding error)
diff --git a/testsuite/tests/parser/unicode/utf8_010.stderr b/testsuite/tests/parser/unicode/utf8_010.stderr
index a2bb9b52e2..79d289d2d2 100644
--- a/testsuite/tests/parser/unicode/utf8_010.stderr
+++ b/testsuite/tests/parser/unicode/utf8_010.stderr
@@ -1,3 +1,3 @@
-utf8_010.hs:2:8:
+utf8_010.hs:2:8: error: [GHC-21231]
lexical error in string/character literal (UTF-8 decoding error)
diff --git a/testsuite/tests/parser/unicode/utf8_011.stderr b/testsuite/tests/parser/unicode/utf8_011.stderr
index 0b34980303..48a04d26c3 100644
--- a/testsuite/tests/parser/unicode/utf8_011.stderr
+++ b/testsuite/tests/parser/unicode/utf8_011.stderr
@@ -1,3 +1,3 @@
-utf8_011.hs:2:8:
+utf8_011.hs:2:8: error: [GHC-21231]
lexical error in string/character literal (UTF-8 decoding error)
diff --git a/testsuite/tests/parser/unicode/utf8_020.stderr b/testsuite/tests/parser/unicode/utf8_020.stderr
index 7254106142..e7ba8de25e 100644
--- a/testsuite/tests/parser/unicode/utf8_020.stderr
+++ b/testsuite/tests/parser/unicode/utf8_020.stderr
@@ -1,3 +1,3 @@
-utf8_020.hs:2:8:
+utf8_020.hs:2:8: error: [GHC-21231]
lexical error in string/character literal (UTF-8 decoding error)
diff --git a/testsuite/tests/parser/unicode/utf8_021.stderr b/testsuite/tests/parser/unicode/utf8_021.stderr
index 2867239846..aaa36f0b64 100644
--- a/testsuite/tests/parser/unicode/utf8_021.stderr
+++ b/testsuite/tests/parser/unicode/utf8_021.stderr
@@ -1,3 +1,3 @@
-utf8_021.hs:2:8:
+utf8_021.hs:2:8: error: [GHC-21231]
lexical error in string/character literal (UTF-8 decoding error)
diff --git a/testsuite/tests/parser/unicode/utf8_022.stderr b/testsuite/tests/parser/unicode/utf8_022.stderr
index 3f84d06de2..7ba319ce84 100644
--- a/testsuite/tests/parser/unicode/utf8_022.stderr
+++ b/testsuite/tests/parser/unicode/utf8_022.stderr
@@ -1,3 +1,3 @@
-utf8_022.hs:2:8:
+utf8_022.hs:2:8: error: [GHC-21231]
lexical error in string/character literal (UTF-8 decoding error)