summaryrefslogtreecommitdiff
path: root/testsuite/tests/partial-sigs
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/partial-sigs
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/partial-sigs')
-rw-r--r--testsuite/tests/partial-sigs/should_fail/all.T2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/partial-sigs/should_fail/all.T b/testsuite/tests/partial-sigs/should_fail/all.T
index 9866029e91..949f449452 100644
--- a/testsuite/tests/partial-sigs/should_fail/all.T
+++ b/testsuite/tests/partial-sigs/should_fail/all.T
@@ -57,7 +57,7 @@ test('WildcardInTypeSynonymLHS', normal, compile_fail, [''])
test('WildcardInTypeSynonymRHS', normal, compile_fail, [''])
test('T10615', normal, compile_fail, [''])
test('T10045', normal, compile_fail, [''])
-test('T10999', normal, compile_fail, [''])
+test('T10999', normalise_fun(normalise_errmsg), compile_fail, [''])
test('T11122', normal, compile, [''])
test('T11515', normal, compile_fail, [''])
test('T11976', normal, compile_fail, [''])