summaryrefslogtreecommitdiff
path: root/testsuite/tests/cabal
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/cabal
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/cabal')
-rw-r--r--testsuite/tests/cabal/T12733/T12733.stderr2
-rw-r--r--testsuite/tests/cabal/t18567/T18567.stderr2
-rw-r--r--testsuite/tests/cabal/t20242/T20242.stderr2
3 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/tests/cabal/T12733/T12733.stderr b/testsuite/tests/cabal/T12733/T12733.stderr
index bc4156d518..60bb4f9042 100644
--- a/testsuite/tests/cabal/T12733/T12733.stderr
+++ b/testsuite/tests/cabal/T12733/T12733.stderr
@@ -1,5 +1,5 @@
-Q2.hs:3:10: error:
+Q2.hs:3:10: error: [GHC-59692]
Duplicate instance declarations:
instance Show (IO a) -- Defined at Q2.hs:3:10
instance [safe] Show (IO a) -- Defined in ‘P’
diff --git a/testsuite/tests/cabal/t18567/T18567.stderr b/testsuite/tests/cabal/t18567/T18567.stderr
index bda761bc38..e6ec7ac6c9 100644
--- a/testsuite/tests/cabal/t18567/T18567.stderr
+++ b/testsuite/tests/cabal/t18567/T18567.stderr
@@ -1,5 +1,5 @@
-<no location info>: warning: [-Wunused-packages]
+<no location info>: warning: [GHC-42258] [-Wunused-packages]
The following packages were specified via -package or -package-id flags,
but were not needed for compilation:
- internal-lib-0.1.0.0 (exposed by flag -package-id internal-lib-0.1.0.0-Dq740EWYmHcKhGKUMfjfaX-sublib-unused)
diff --git a/testsuite/tests/cabal/t20242/T20242.stderr b/testsuite/tests/cabal/t20242/T20242.stderr
index 73c50e8c51..4d77d234ab 100644
--- a/testsuite/tests/cabal/t20242/T20242.stderr
+++ b/testsuite/tests/cabal/t20242/T20242.stderr
@@ -1,5 +1,5 @@
-Foo.hs-boot:1:1: error:
+Foo.hs-boot:1:1: error: [GHC-28623]
File name does not match module name:
Saw : ‘Main’
Expected: ‘Foo’