summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail
diff options
context:
space:
mode:
authorAlfredo Di Napoli <alfredo@well-typed.com>2021-01-19 09:42:13 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-01-22 15:00:47 -0500
commitc36a4f6389e5607b1608682c2fcdb0866cac31d0 (patch)
treeeb76e2665ea6a5b87caded5745edfab99e280cae /testsuite/tests/rename/should_fail
parenta64f21e9f6bd949847d3c8fa1e427e5c763ccd7f (diff)
downloadhaskell-c36a4f6389e5607b1608682c2fcdb0866cac31d0.tar.gz
Fix tests relying on same-line diagnostic ordering
This commit fixes 19 tests which were failing due to the use of `consBag` / `snocBag`, which have been now replaced by `addMessage`. This means that now GHC would output things in different order but only for /diagnostics on the same line/, so this is just reflecting that. The "normal" order of messages is still guaranteed.
Diffstat (limited to 'testsuite/tests/rename/should_fail')
-rw-r--r--testsuite/tests/rename/should_fail/rn_dup.stderr8
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/tests/rename/should_fail/rn_dup.stderr b/testsuite/tests/rename/should_fail/rn_dup.stderr
index ba8a9a56dc..5c4246d8b6 100644
--- a/testsuite/tests/rename/should_fail/rn_dup.stderr
+++ b/testsuite/tests/rename/should_fail/rn_dup.stderr
@@ -1,22 +1,22 @@
rn_dup.hs:9:10: error:
Multiple declarations of ‘MkT’
- Declared at: rn_dup.hs:7:10
+ Declared at: rn_dup.hs:7:16
rn_dup.hs:9:10
rn_dup.hs:9:10: error:
Multiple declarations of ‘MkT’
- Declared at: rn_dup.hs:7:16
+ Declared at: rn_dup.hs:7:10
rn_dup.hs:9:10
rn_dup.hs:12:16: error:
Multiple declarations of ‘rf’
- Declared at: rn_dup.hs:11:16
+ Declared at: rn_dup.hs:11:27
rn_dup.hs:12:16
rn_dup.hs:12:16: error:
Multiple declarations of ‘rf’
- Declared at: rn_dup.hs:11:27
+ Declared at: rn_dup.hs:11:16
rn_dup.hs:12:16
rn_dup.hs:17:3: error: