From db07d534feb267d5f81e1301f6a0cb726c4c2ea2 Mon Sep 17 00:00:00 2001
From: Ben Gamari <ben@smart-cactus.org>
Date: Sun, 2 Apr 2017 13:02:23 -0400
Subject: [PATCH] T9220: Only examine type roles

The ghc-8.2 and master branches disagree on the order of the instances.
Normalise this difference away.
---
 tests/all.T | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/all.T b/tests/all.T
index a5f92e71..298f19c7 100644
--- a/tests/all.T
+++ b/tests/all.T
@@ -5,5 +5,5 @@ test('array001', [
   ],
   compile_and_run, [''])
 
-test('T9220', normal, ghci_script, ['T9220.script'])
+test('T9220', filter_stdout_lines('.*type role .*'), ghci_script, ['T9220.script'])
 test('T229', [exit_code(1)], compile_and_run, [''])
-- 
GitLab