summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2021-10-06 13:03:24 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-10-14 14:33:32 -0400
commitf450e9481eafa3a00c648c81154a9a8be2da7650 (patch)
treecf92fb3f9ad4b37098bb2958b9d9eb09cffb5899 /testsuite/tests/rename
parent557d26fabacbbf4e47480feae385f20761e1096f (diff)
downloadhaskell-f450e9481eafa3a00c648c81154a9a8be2da7650.tar.gz
fuzzyLookup: More deterministic order
else the output may depend on the input order, which seems it may depend on the concrete Uniques, which is causing headaches when including test cases about that.
Diffstat (limited to 'testsuite/tests/rename')
-rw-r--r--testsuite/tests/rename/should_fail/T10618.stderr4
-rw-r--r--testsuite/tests/rename/should_fail/T15539.stderr2
-rw-r--r--testsuite/tests/rename/should_fail/rnfail032.stderr4
-rw-r--r--testsuite/tests/rename/should_fail/rnfail033.stderr4
4 files changed, 7 insertions, 7 deletions
diff --git a/testsuite/tests/rename/should_fail/T10618.stderr b/testsuite/tests/rename/should_fail/T10618.stderr
index 2d478744e1..cba5e47aff 100644
--- a/testsuite/tests/rename/should_fail/T10618.stderr
+++ b/testsuite/tests/rename/should_fail/T10618.stderr
@@ -2,5 +2,5 @@
T10618.hs:3:22: error:
• Variable not in scope: (<|>) :: Maybe (Maybe a0) -> Maybe a1 -> t
• Perhaps you meant one of these:
- ‘<$>’ (imported from Prelude), ‘<*>’ (imported from Prelude),
- ‘<>’ (imported from Prelude)
+ ‘<>’ (imported from Prelude), ‘<$>’ (imported from Prelude),
+ ‘<*>’ (imported from Prelude)
diff --git a/testsuite/tests/rename/should_fail/T15539.stderr b/testsuite/tests/rename/should_fail/T15539.stderr
index c3de7780d4..9ac202f420 100644
--- a/testsuite/tests/rename/should_fail/T15539.stderr
+++ b/testsuite/tests/rename/should_fail/T15539.stderr
@@ -1,4 +1,4 @@
T15539.hs:6:13: error:
• Variable not in scope: baz
- • Perhaps you meant one of these: ‘bar’ (line 15), ‘bam’ (line 17)
+ • Perhaps you meant one of these: ‘bam’ (line 17), ‘bar’ (line 15)
diff --git a/testsuite/tests/rename/should_fail/rnfail032.stderr b/testsuite/tests/rename/should_fail/rnfail032.stderr
index 70d80a0322..874b1746e6 100644
--- a/testsuite/tests/rename/should_fail/rnfail032.stderr
+++ b/testsuite/tests/rename/should_fail/rnfail032.stderr
@@ -3,7 +3,7 @@ rnfail032.hs:2:21: error:
Not in scope: ‘Data.List.map’
Perhaps you meant one of these:
‘Data.List.zip’ (imported from Data.List),
- ‘Data.List.all’ (imported from Data.List),
- ‘Data.List.and’ (imported from Data.List)
+ ‘Data.List.or’ (imported from Data.List),
+ ‘Data.List.all’ (imported from Data.List)
Perhaps you want to remove ‘map’ from the explicit hiding list
in the import of ‘Data.List’ (rnfail032.hs:3:1-41).
diff --git a/testsuite/tests/rename/should_fail/rnfail033.stderr b/testsuite/tests/rename/should_fail/rnfail033.stderr
index 277b42fb16..a445fd7293 100644
--- a/testsuite/tests/rename/should_fail/rnfail033.stderr
+++ b/testsuite/tests/rename/should_fail/rnfail033.stderr
@@ -3,7 +3,7 @@ rnfail033.hs:2:21: error:
Not in scope: ‘Data.List.map’
Perhaps you meant one of these:
‘Data.List.zip’ (imported from Data.List),
- ‘Data.List.all’ (imported from Data.List),
- ‘Data.List.and’ (imported from Data.List)
+ ‘Data.List.or’ (imported from Data.List),
+ ‘Data.List.all’ (imported from Data.List)
Perhaps you want to remove ‘map’ from the explicit hiding list
in the import of ‘Data.List’ (rnfail033.hs:3:1-31).