Merge pull request #15 from phadej/ghc-8.8-inlines
Seems that inspection tests pass on GHC-8.8.1
commit2bd1c05c7a6ac5c1672e229bb264046a6dccfe01
authorOleg Grenrus <oleg.grenrus@iki.fi>
dateFri 26 Apr 2019, 14:12 (7 years ago)
parent685ba2b7935496
test/Inspection.hs+6−1
@@ -53,7 +53,12 @@ inspectionTests = testGroup "inspection"
5353
5454 -- byteaOid isn't inlined?
5555 , testCase "inlineTypoid" $
56− assertFailure' $(inspectTest $ 'lhs02 ==- 'rhs02)
56+#if __GLASGOW_HASKELL__ >= 808
57+ assertSuccess
58+#else
59+ assertFailure'
60+#endif
61+ $(inspectTest $ 'lhs02 ==- 'rhs02)
5762 ]
5863
5964assertSuccess :: Result -> IO ()