summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T11629.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/th/T11629.hs')
-rw-r--r--testsuite/tests/th/T11629.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/th/T11629.hs b/testsuite/tests/th/T11629.hs
index 4fcc093823..11373fd4cb 100644
--- a/testsuite/tests/th/T11629.hs
+++ b/testsuite/tests/th/T11629.hs
@@ -37,7 +37,7 @@ do
ty1 <- [t| C True |]
ty2 <- [t| C 'False |]
ClassI _ insts <- reify ''C
- let [ty1', ty2'] = map getType insts
+ let [ty2', ty1'] = map getType insts
when (ty1 /= ty1') $ failMsg "A" ty1 ty1'
when (ty2 /= ty2') $ failMsg "B" ty2 ty2'