Skip to content

Commit ea6e05b

Browse files
committed
Convert strictness tests
1 parent 84a0e49 commit ea6e05b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/Strictness.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ module Main (main) where
55

66
import Data.Hashable (Hashable(hashWithSalt))
77
import Test.ChasingBottoms.IsBottom
8-
import Test.Framework (Test, defaultMain, testGroup)
9-
import Test.Framework.Providers.QuickCheck2 (testProperty)
8+
import Test.Tasty (TestTree, defaultMain, testGroup)
9+
import Test.Tasty.QuickCheck (testProperty)
1010
import Test.QuickCheck (Arbitrary(arbitrary), Property, (===), (.&&.))
1111
import Test.QuickCheck.Function
1212
import Test.QuickCheck.Poly (A)
@@ -149,8 +149,8 @@ pFromListWithValueResultStrict lst comb_lazy calc_good_raw
149149
------------------------------------------------------------------------
150150
-- * Test list
151151

152-
tests :: [Test]
153-
tests =
152+
tests :: TestTree
153+
tests = testGroup "Strictness tests"
154154
[
155155
-- Basic interface
156156
testGroup "HashMap.Strict"

unordered-containers.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ test-suite strictness-properties
181181
containers >= 0.4.2,
182182
hashable >= 1.0.1.1,
183183
QuickCheck >= 2.4.0.1,
184-
test-framework >= 0.3.3,
185-
test-framework-quickcheck2 >= 0.2.9,
184+
tasty >= 1.4.0.3,
185+
tasty-quickcheck >= 0.10.1.2,
186186
unordered-containers
187187

188188
default-language: Haskell2010

0 commit comments

Comments
 (0)