diff options
author | sheaf <sam.derbyshire@gmail.com> | 2022-09-13 10:22:05 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-09-13 10:27:53 -0400 |
commit | 362cca13858faf7e1158273780ea900e7dad5827 (patch) | |
tree | 468c06697b2a6ef3f65b79a469a131d279f71deb /testsuite/tests/safeHaskell/check | |
parent | 65a0bd69ac1fb59047cd4c8554a8fc756c7b3476 (diff) | |
download | haskell-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/safeHaskell/check')
12 files changed, 28 insertions, 28 deletions
diff --git a/testsuite/tests/safeHaskell/check/Check01.stderr b/testsuite/tests/safeHaskell/check/Check01.stderr index b63d8d4a10..3eda379107 100644 --- a/testsuite/tests/safeHaskell/check/Check01.stderr +++ b/testsuite/tests/safeHaskell/check/Check01.stderr @@ -1,4 +1,4 @@ [3 of 3] Compiling Check01 ( Check01.hs, Check01.o ) -<no location info>: error: - The package (base-4.16.0.0) is required to be trusted but it isn't! +<no location info>: error: [GHC-08674] + The package (base-4.17.0.0) is required to be trusted but it isn't! diff --git a/testsuite/tests/safeHaskell/check/Check06.stderr b/testsuite/tests/safeHaskell/check/Check06.stderr index b533b3c357..49635306ef 100644 --- a/testsuite/tests/safeHaskell/check/Check06.stderr +++ b/testsuite/tests/safeHaskell/check/Check06.stderr @@ -1,5 +1,5 @@ [1 of 2] Compiling Check06_A ( Check06_A.hs, Check06_A.o ) [2 of 2] Compiling Check06 ( Check06.hs, Check06.o ) -<no location info>: error: - The package (base-4.13.0.0) is required to be trusted but it isn't! +<no location info>: error: [GHC-08674] + The package (base-4.17.0.0) is required to be trusted but it isn't! diff --git a/testsuite/tests/safeHaskell/check/Check08.stderr b/testsuite/tests/safeHaskell/check/Check08.stderr index 9eb6691bc8..e0fed33756 100644 --- a/testsuite/tests/safeHaskell/check/Check08.stderr +++ b/testsuite/tests/safeHaskell/check/Check08.stderr @@ -2,5 +2,5 @@ [2 of 3] Compiling Check08_B ( Check08_B.hs, Check08_B.o ) [3 of 3] Compiling Check08 ( Check08.hs, Check08.o ) -<no location info>: error: - The package (base-4.16.0.0) is required to be trusted but it isn't! +<no location info>: error: [GHC-08674] + The package (base-4.17.0.0) is required to be trusted but it isn't! diff --git a/testsuite/tests/safeHaskell/check/Check09.stderr b/testsuite/tests/safeHaskell/check/Check09.stderr index 14af3c8f8b..042f2d7adf 100644 --- a/testsuite/tests/safeHaskell/check/Check09.stderr +++ b/testsuite/tests/safeHaskell/check/Check09.stderr @@ -1,8 +1,8 @@ -Check09.hs:5:1: error: +Check09.hs:5:1: error: [GHC-75165] Prelude: Can't be safely imported! - The package (base-4.16.0.0) the module resides in isn't trusted. + The package (base-4.17.0.0) the module resides in isn't trusted. -Check09.hs:6:1: error: +Check09.hs:6:1: error: [GHC-75165] Data.ByteString.Char8: Can't be safely imported! - The package (bytestring-0.10.12.0) the module resides in isn't trusted. + The package (bytestring-0.11.3.0) the module resides in isn't trusted. diff --git a/testsuite/tests/safeHaskell/check/pkg01/ImpSafe01.stderr b/testsuite/tests/safeHaskell/check/pkg01/ImpSafe01.stderr index 0381edfccb..77783546c9 100644 --- a/testsuite/tests/safeHaskell/check/pkg01/ImpSafe01.stderr +++ b/testsuite/tests/safeHaskell/check/pkg01/ImpSafe01.stderr @@ -1,4 +1,4 @@ -ImpSafe01.hs:10:1: error: +ImpSafe01.hs:10:1: error: [GHC-75165] Data.Word: Can't be safely imported! - The package (base-4.16.0.0) the module resides in isn't trusted. + The package (base-4.17.0.0) the module resides in isn't trusted. diff --git a/testsuite/tests/safeHaskell/check/pkg01/ImpSafe03.stderr b/testsuite/tests/safeHaskell/check/pkg01/ImpSafe03.stderr index 33cb566987..19f6c1c0a1 100644 --- a/testsuite/tests/safeHaskell/check/pkg01/ImpSafe03.stderr +++ b/testsuite/tests/safeHaskell/check/pkg01/ImpSafe03.stderr @@ -1,4 +1,4 @@ [2 of 3] Compiling Main ( ImpSafe03.hs, ImpSafe03.o ) -<no location info>: error: - The package (bytestring-0.11.1.0) is required to be trusted but it isn't! +<no location info>: error: [GHC-08674] + The package (bytestring-0.11.3.0) is required to be trusted but it isn't! diff --git a/testsuite/tests/safeHaskell/check/pkg01/ImpSafe04.stderr b/testsuite/tests/safeHaskell/check/pkg01/ImpSafe04.stderr index a0445afd23..d25ba89d1d 100644 --- a/testsuite/tests/safeHaskell/check/pkg01/ImpSafe04.stderr +++ b/testsuite/tests/safeHaskell/check/pkg01/ImpSafe04.stderr @@ -1,4 +1,4 @@ -ImpSafe04.hs:10:1: error: +ImpSafe04.hs:10:1: error: [GHC-75165] Data.Word: Can't be safely imported! - The package (base-4.16.0.0) the module resides in isn't trusted. + The package (base-4.17.0.0) the module resides in isn't trusted. diff --git a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly03.stderr b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly03.stderr index aef125b2ef..5400ea9ff4 100644 --- a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly03.stderr +++ b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly03.stderr @@ -1,4 +1,4 @@ -ImpSafeOnly03.hs:5:1: error: +ImpSafeOnly03.hs:5:1: error: [GHC-75165] M_SafePkg3: Can't be safely imported! The package (safePkg01-1.0) the module resides in isn't trusted. diff --git a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly05.stderr b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly05.stderr index 7e854073bf..cdbb136803 100644 --- a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly05.stderr +++ b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly05.stderr @@ -1,4 +1,4 @@ -ImpSafeOnly05.hs:5:1: error: +ImpSafeOnly05.hs:5:1: error: [GHC-75165] M_SafePkg5: Can't be safely imported! The package (safePkg01-1.0) the module resides in isn't trusted. diff --git a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly07.stderr b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly07.stderr index 79af2e0a45..8576745e7c 100644 --- a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly07.stderr +++ b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly07.stderr @@ -1,6 +1,6 @@ -<no location info>: error: - The package (base-4.9.0.0) is required to be trusted but it isn't! +<no location info>: error: [GHC-08674] + The package (base-4.17.0.0) is required to be trusted but it isn't! -<no location info>: error: - The package (bytestring-0.10.8.0) is required to be trusted but it isn't! +<no location info>: error: [GHC-08674] + The package (bytestring-0.11.3.0) is required to be trusted but it isn't! diff --git a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly08.stderr b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly08.stderr index 79af2e0a45..8576745e7c 100644 --- a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly08.stderr +++ b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly08.stderr @@ -1,6 +1,6 @@ -<no location info>: error: - The package (base-4.9.0.0) is required to be trusted but it isn't! +<no location info>: error: [GHC-08674] + The package (base-4.17.0.0) is required to be trusted but it isn't! -<no location info>: error: - The package (bytestring-0.10.8.0) is required to be trusted but it isn't! +<no location info>: error: [GHC-08674] + The package (bytestring-0.11.3.0) is required to be trusted but it isn't! diff --git a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly09.stderr b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly09.stderr index 4221723abe..e125b95fdb 100644 --- a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly09.stderr +++ b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly09.stderr @@ -1,3 +1,3 @@ -<no location info>: - The package (bytestring-0.10.8.0) is required to be trusted but it isn't! +<no location info>: error: [GHC-08674] + The package (bytestring-0.11.3.0) is required to be trusted but it isn't! |