Skip to content

Commit 79ad969

Browse files
committed
Convert HashMapProperties
TODO: Module header
1 parent 7d93030 commit 79ad969

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

tests/HashMapProperties.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ import qualified Data.HashMap.Lazy as HM
2525
import qualified Data.Map.Lazy as M
2626
#endif
2727
import Test.QuickCheck (Arbitrary(..), Property, (==>), (===), forAll, elements)
28-
import Test.Framework (Test, defaultMain, testGroup)
29-
import Test.Framework.Providers.QuickCheck2 (testProperty)
28+
import Test.Tasty (TestTree, defaultMain, testGroup)
29+
import Test.Tasty.QuickCheck (testProperty)
3030
import Data.Functor.Identity (Identity (..))
3131
import Control.Applicative (Const (..))
3232
import Test.QuickCheck.Function (Fun, apply)
@@ -440,8 +440,8 @@ pKeys = (L.sort . M.keys) `eq` (L.sort . HM.keys)
440440
------------------------------------------------------------------------
441441
-- * Test list
442442

443-
tests :: [Test]
444-
tests =
443+
tests :: TestTree
444+
tests = testGroup "All"
445445
[
446446
-- Instances
447447
testGroup "instances"

unordered-containers.cabal

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ test-suite hashmap-lazy-properties
8888
containers >= 0.5.8,
8989
hashable >= 1.0.1.1,
9090
QuickCheck >= 2.4.0.1,
91-
test-framework >= 0.3.3,
92-
test-framework-quickcheck2 >= 0.2.9,
91+
tasty >= 1.4.0.3,
92+
tasty-quickcheck >= 0.10.1.2,
9393
unordered-containers
9494

9595
default-language: Haskell2010
@@ -106,8 +106,8 @@ test-suite hashmap-strict-properties
106106
containers >= 0.5.8,
107107
hashable >= 1.0.1.1,
108108
QuickCheck >= 2.4.0.1,
109-
test-framework >= 0.3.3,
110-
test-framework-quickcheck2 >= 0.2.9,
109+
tasty >= 1.4.0.3,
110+
tasty-quickcheck >= 0.10.1.2,
111111
unordered-containers
112112

113113
default-language: Haskell2010

0 commit comments

Comments
 (0)