packages feed

rank1dynamic 0.4.2 → 0.4.3

raw patch · 3 files changed

+14/−10 lines, 3 filesdep +tastydep +tasty-hunitdep −HUnitdep −test-frameworkdep −test-framework-hunitPVP ok

version bump matches the API change (PVP)

Dependencies added: tasty, tasty-hunit

Dependencies removed: HUnit, test-framework, test-framework-hunit

API changes (from Hackage documentation)

Files

ChangeLog view
@@ -1,3 +1,8 @@+2025-02-04 Laurent P. René de Cotret <laurent.decotret@outlook.com> 0.4.3++* Ported test suite to use `tasty` rather than `test-framework`.+* Removed unused test dependencies (#467)+ 2024-09-03 Laurent P. René de Cotret <laurent.decotret@outlook.com> 0.4.2  * Bumped dependency bounds to support GHC 8.10.7 - GHC 9.10.1
rank1dynamic.cabal view
@@ -1,6 +1,6 @@ cabal-version:       3.0 Name:                rank1dynamic-Version:             0.4.2+Version:             0.4.3 Synopsis:            Like Data.Dynamic/Data.Typeable but with support for rank-1 polymorphic types Description:         "Data.Typeable" and "Data.Dynamic" only support monomorphic types.                      In this package we provide similar functionality but with@@ -30,6 +30,7 @@                  -Wredundant-constraints                  -fhide-source-paths                  -Wpartial-fields+                 -Wunused-packages  Library   import:              warnings@@ -48,9 +49,8 @@   Type:              exitcode-stdio-1.0   Main-Is:           test.hs   Build-Depends:     base >= 4.14 && < 5,-                     HUnit >= 1.2 && < 1.7,                      rank1dynamic,-                     test-framework >= 0.6 && < 0.9,-                     test-framework-hunit >= 0.2.0 && < 0.4-  default-language:    Haskell2010+                     tasty >= 1.5 && <1.6,+                     tasty-hunit >=0.10 && <0.11,+  default-language:  Haskell2010   HS-Source-Dirs:    tests
tests/test.hs view
@@ -2,9 +2,8 @@ import           Data.Rank1Dynamic import           Data.Rank1Typeable -import           Test.Framework-import           Test.Framework.Providers.HUnit-import           Test.HUnit                     hiding (Test)+import           Test.Tasty+import           Test.Tasty.HUnit import           Unsafe.Coerce  funKindStr :: String@@ -18,9 +17,9 @@   main :: IO ()-main = defaultMain tests+main = defaultMain (testGroup "rank1dynamic" tests) -tests :: [Test]+tests :: [TestTree] tests =   [ testGroup "Examples of isInstanceOf"       [ testCase "CANNOT use a term of type 'Int -> Bool' as 'Int -> Int'" $