summaryrefslogtreecommitdiff
path: root/testsuite/tests/arrows
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2018-12-12 16:45:55 -0500
committerBen Gamari <ben@smart-cactus.org>2018-12-12 23:26:34 -0500
commit9d9f4c9a7c04e152b40ae2db7c051cd9e0f5df61 (patch)
tree2b0c9a53911c7565237de596aa19fa98606d83d7 /testsuite/tests/arrows
parent14500dab3e9c24d2701c8be6f5a0fca30531ab80 (diff)
downloadhaskell-9d9f4c9a7c04e152b40ae2db7c051cd9e0f5df61.tar.gz
testsuite: Normalise away spurious differences in out-of-scope instances
This fixes a variety of testsuite failures with integer-simple of the form ``` --- typecheck/should_fail/tcfail072.run/tcfail072.stderr.normalised +++ typecheck/should_fail/tcfail072.run/tcfail072.comp.stderr.normalised @@ -12,7 +12,7 @@ -- Defined in ‘integer-<IMPL>-<VERSION>:GHC.Integer.Type’ instance Ord () -- Defined in ‘GHC.Classes’ ...plus 21 others - ...plus three instances involving out-of-scope types + ...plus two instances involving out-of-scope types (use -fprint-potential-instances to see them all) In the expression: g A In an equation for ‘g’: g (B _ _) = g A ``` In service of fixing #16043.
Diffstat (limited to 'testsuite/tests/arrows')
-rw-r--r--testsuite/tests/arrows/should_compile/all.T2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/arrows/should_compile/all.T b/testsuite/tests/arrows/should_compile/all.T
index ace8af5360..279dd109dd 100644
--- a/testsuite/tests/arrows/should_compile/all.T
+++ b/testsuite/tests/arrows/should_compile/all.T
@@ -14,5 +14,5 @@ test('arrowpat', normal, compile, [''])
test('T3964', normal, compile, [''])
test('T5283', normal, compile, [''])
test('T5267', expect_broken(5267), compile, [''])
-test('T5022', normal, compile, [''])
+test('T5022', normalise_fun(normalise_errmsg), compile, [''])
test('T5333', normal, compile, [''])