gitlib-test 3.1.0 → 3.1.0.1
raw patch · 2 files changed
+7/−7 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Git.Smoke: treeit :: (Example (m ()), MonadIO m, MonadBaseControl IO m, MonadGit r n, MonadIO n, MonadBaseControl IO n) => String -> RepositoryFactory n m r -> [Kind] -> TreeT r n a -> Spec
+ Git.Smoke: treeit :: (Example (m ()), MonadGit r n, MonadBaseControl IO m, MonadBaseControl IO n, MonadIO m, MonadIO n) => String -> RepositoryFactory n m r -> [Kind] -> TreeT r n a -> SpecWith (Arg (m ()))
Files
- Git/Smoke.hs +6/−6
- gitlib-test.cabal +1/−1
Git/Smoke.hs view
@@ -1,9 +1,10 @@ {-# LANGUAGE ConstraintKinds #-} {-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE FlexibleContexts #-}-{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE ScopedTypeVariables #-}+{-# LANGUAGE TypeFamilies #-}+ {-# OPTIONS_GHC -fno-warn-unused-do-bind #-} {-# OPTIONS_GHC -fno-warn-wrong-do-bind #-} {-# OPTIONS_GHC -fno-warn-name-shadowing #-}@@ -27,7 +28,6 @@ import Test.HUnit import Test.Hspec (Spec, Example, describe, it) import Test.Hspec.Expectations-import Test.Hspec.HUnit () sampleCommit :: MonadGit r m => TreeOid r -> Signature -> m (Commit r) sampleCommit tr sig =@@ -456,9 +456,9 @@ fullPath = normalize label <> ".git" normalize = map (\x -> if x == ' ' then '-' else x) -treeit :: (Example (m ()), MonadIO m, MonadBaseControl IO m,- MonadGit r n, MonadIO n, MonadBaseControl IO n)- => String -> RepositoryFactory n m r -> [Kind] -> TreeT r n a -> Spec+-- treeit :: (Example (m ()), MonadIO m, MonadBaseControl IO m,+-- MonadGit r n, MonadIO n, MonadBaseControl IO n)+-- => String -> RepositoryFactory n m r -> [Kind] -> TreeT r n a -> Spec treeit label pr kinds action = it label $ doTreeit label pr kinds action treeitFail :: (MonadGit r m, MonadIO m, MonadBaseControl IO m)
gitlib-test.cabal view
@@ -1,5 +1,5 @@ Name: gitlib-test-Version: 3.1.0+Version: 3.1.0.1 Synopsis: Test library for confirming gitlib backend compliance License-file: LICENSE License: MIT