[commit: packages/time] format-widths, ghc, improve-leapseconds, master, posix-perf, tasty, wip/travis: use latest test library (656b250)

git at git.haskell.org git at git.haskell.org
Fri Apr 21 16:52:11 UTC 2017


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

On branches: format-widths,ghc,improve-leapseconds,master,posix-perf,tasty,wip/travis
Link       : http://git.haskell.org/packages/time.git/commitdiff/656b250ba24a60e15abb440ec302bd479270bae4

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

commit 656b250ba24a60e15abb440ec302bd479270bae4
Author: Ashley Yakeley <ashley at yakeley.org>
Date:   Sat Jul 19 20:57:07 2014 -0700

    use latest test library


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

656b250ba24a60e15abb440ec302bd479270bae4
 Test/TestUtil.hs | 3 ++-
 time.cabal       | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/Test/TestUtil.hs b/Test/TestUtil.hs
index bb2b58e..b711f93 100644
--- a/Test/TestUtil.hs
+++ b/Test/TestUtil.hs
@@ -9,8 +9,9 @@ module Test.TestUtil
 import Test.Framework
 import Test.Framework.Providers.API
 import Test.Framework.Providers.QuickCheck2
+import Data.Typeable
 
-data Result = Pass | Fail String
+data Result = Pass | Fail String deriving Typeable
 
 instance Show Result where
     show Pass = "passed"
diff --git a/time.cabal b/time.cabal
index b02f0e3..34cdd78 100644
--- a/time.cabal
+++ b/time.cabal
@@ -114,8 +114,8 @@ test-suite tests
         old-locale,
         process,
         QuickCheck >= 2.5.1,
-        test-framework >= 0.6.1 && < 0.7,
-        test-framework-quickcheck2 >= 0.2.12,
+        test-framework >= 0.8,
+        test-framework-quickcheck2 >= 0.3,
         unix
     main-is: Test.hs
     other-modules:



More information about the ghc-commits mailing list