inline-c 0.9.1.2 → 0.9.1.3
raw patch · 3 files changed
+7/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- changelog.md +1/−0
- inline-c.cabal +1/−1
- test/Language/C/Types/ParseSpec.hs +5/−1
changelog.md view
@@ -1,3 +1,4 @@+- 0.9.1.3: Work around spurious test failures, see PR #118. - 0.9.1.2: Update haddock for `Language.C.Inline.Interruptible.pure`. - 0.9.1.1: Use `unsafeDupablePerformIO` rather than `unsafePerformIO`. See issue #115 and PR #117. - 0.9.1.0: Add `Language.C.Inline.substitute` and `Language.C.Inline.getHaskellType`.
inline-c.cabal view
@@ -1,5 +1,5 @@ name: inline-c-version: 0.9.1.2+version: 0.9.1.3 synopsis: Write Haskell source files including C code inline. No FFI required. description: See <https://github.com/fpco/inline-c/blob/master/README.md>. license: MIT
test/Language/C/Types/ParseSpec.hs view
@@ -11,6 +11,7 @@ import Control.Monad.Trans.Class (lift) import Data.Hashable (Hashable) import qualified Test.Hspec as Hspec+import qualified Test.Hspec.QuickCheck import qualified Test.QuickCheck as QC import Text.Parser.Char import Text.Parser.Combinators@@ -29,7 +30,10 @@ import Prelude -- Fix for 7.10 unused warnings. spec :: Hspec.SpecWith ()-spec = do+-- modifyMaxDiscardRatio:+-- 'isGoodType' and 'isGoodHaskellIdentifierType' usually make it within the+-- discard ratio of 10, but we increase the ratio to avoid spurious build failures+spec = Test.Hspec.QuickCheck.modifyMaxDiscardRatio (const 20) $ do Hspec.it "parses everything which is pretty-printable (C)" $ do #if MIN_VERSION_QuickCheck(2,9,0) QC.property $ QC.again $ do -- Work around <https://github.com/nick8325/quickcheck/issues/113>