summaryrefslogtreecommitdiff
path: root/testsuite/tests/mdo
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/mdo
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/mdo')
-rw-r--r--testsuite/tests/mdo/should_fail/mdofail001.stderr2
-rw-r--r--testsuite/tests/mdo/should_fail/mdofail005.stderr2
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/mdo/should_fail/mdofail001.stderr b/testsuite/tests/mdo/should_fail/mdofail001.stderr
index 9a3ea6686d..888bb90fbf 100644
--- a/testsuite/tests/mdo/should_fail/mdofail001.stderr
+++ b/testsuite/tests/mdo/should_fail/mdofail001.stderr
@@ -1,5 +1,5 @@
-mdofail001.hs:10:32: error:
+mdofail001.hs:10:32: error: [GHC-39999]
• No instance for ‘Num Char’ arising from the literal ‘1’
• In the expression: 1
In the first argument of ‘l’, namely ‘[1, 2, 3]’
diff --git a/testsuite/tests/mdo/should_fail/mdofail005.stderr b/testsuite/tests/mdo/should_fail/mdofail005.stderr
index 18e2e4ae9d..f05b79311d 100644
--- a/testsuite/tests/mdo/should_fail/mdofail005.stderr
+++ b/testsuite/tests/mdo/should_fail/mdofail005.stderr
@@ -1,4 +1,4 @@
-mdofail005.hs:11:14: error:
+mdofail005.hs:11:14: error: [GHC-58481]
parse error on input ‘<-’
Suggested fix: Perhaps you intended to use RecursiveDo