File tree Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 1+ Unreleased
2+
3+ * Ported test suite to use `tasty` rather than `test-framework`.
4+
152024-09-03 Laurent P. René de Cotret <
[email protected] > 0.4.2
26
37* Bumped dependency bounds to support GHC 8.10.7 - GHC 9.10.1
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ Test-Suite TestRank1Dynamic
5050 Build-Depends : base >= 4.14 && < 5 ,
5151 HUnit >= 1.2 && < 1.7 ,
5252 rank1dynamic,
53- test-framework >= 0.6 && < 0.9 ,
54- test-framework- hunit >= 0.2.0 && < 0.4
55- default-language : Haskell2010
53+ tasty >= 1.5 && < 1.6 ,
54+ tasty- hunit >= 0.10 && < 0.11 ,
55+ default-language : Haskell2010
5656 HS-Source-Dirs : tests
Original file line number Diff line number Diff line change 22import Data.Rank1Dynamic
33import Data.Rank1Typeable
44
5- import Test.Framework
6- import Test.Framework.Providers.HUnit
7- import Test.HUnit hiding (Test )
5+ import Test.Tasty
6+ import Test.Tasty.HUnit
87import Unsafe.Coerce
98
109funKindStr :: String
@@ -18,9 +17,9 @@ funKindStr = "(->)"
1817
1918
2019main :: IO ()
21- main = defaultMain tests
20+ main = defaultMain (testGroup " rank1dynamic " tests)
2221
23- tests :: [Test ]
22+ tests :: [TestTree ]
2423tests =
2524 [ testGroup " Examples of isInstanceOf"
2625 [ testCase " CANNOT use a term of type 'Int -> Bool' as 'Int -> Int'" $
You can’t perform that action at this time.
0 commit comments