[commit: packages/binary] master: Test typeRep function to increase test coverage. (a5e9339)

git at git.haskell.org git at git.haskell.org
Thu Apr 6 22:29:18 UTC 2017


Repository : ssh://git@git.haskell.org/binary

On branch  : master
Link       : http://git.haskell.org/packages/binary.git/commitdiff/a5e9339ad87fb9a721b0984fe48891b44b946e5d

>---------------------------------------------------------------

commit a5e9339ad87fb9a721b0984fe48891b44b946e5d
Author: Lennart Kolmodin <kolmodin at gmail.com>
Date:   Mon Mar 13 22:53:44 2017 +0100

    Test typeRep function to increase test coverage.


>---------------------------------------------------------------

a5e9339ad87fb9a721b0984fe48891b44b946e5d
 tests/QC.hs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/QC.hs b/tests/QC.hs
index 6577ffe..7dc4275 100644
--- a/tests/QC.hs
+++ b/tests/QC.hs
@@ -175,6 +175,7 @@ atomicTypeReps =
     , typeRep (Proxy :: Proxy '[1,2,3,4])
     , typeRep (Proxy :: Proxy ('Left Int))
     , typeRep (Proxy :: Proxy (Either Int String))
+    , typeRep (Proxy :: Proxy (() -> ()))
     ]
 
 instance Arbitrary TypeRep where



More information about the ghc-commits mailing list