File tree 3 files changed +11
-8
lines changed
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
+
1
5
2024-09-03 Laurent P. René de Cotret <
[email protected] > 0.4.2
2
6
3
7
* 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
50
50
Build-Depends : base >= 4.14 && < 5 ,
51
51
HUnit >= 1.2 && < 1.7 ,
52
52
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
56
56
HS-Source-Dirs : tests
Original file line number Diff line number Diff line change 2
2
import Data.Rank1Dynamic
3
3
import Data.Rank1Typeable
4
4
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
8
7
import Unsafe.Coerce
9
8
10
9
funKindStr :: String
@@ -18,9 +17,9 @@ funKindStr = "(->)"
18
17
19
18
20
19
main :: IO ()
21
- main = defaultMain tests
20
+ main = defaultMain (testGroup " rank1dynamic " tests)
22
21
23
- tests :: [Test ]
22
+ tests :: [TestTree ]
24
23
tests =
25
24
[ testGroup " Examples of isInstanceOf"
26
25
[ testCase " CANNOT use a term of type 'Int -> Bool' as 'Int -> Int'" $
You can’t perform that action at this time.
0 commit comments