packages feed

cabal-test-quickcheck 0.1.3 → 0.1.4

raw patch · 4 files changed

+7/−52 lines, 4 filesdep −cabal-test-quickcheckdep ~CabalPVP ok

version bump matches the API change (PVP)

Dependencies removed: cabal-test-quickcheck

Dependency ranges changed: Cabal

API changes (from Hackage documentation)

Files

cabal-test-quickcheck.cabal view
@@ -1,5 +1,5 @@ name:          cabal-test-quickcheck-version:       0.1.3+version:       0.1.4 license:       MIT license-file:  LICENSE author:        Timothy Jones@@ -27,20 +27,6 @@     base       >= 4.6  && < 4.8,     Cabal      >= 1.16 && < 1.23,     QuickCheck >= 2.6  && < 2.8--test-suite example-  type:        detailed-0.9-  test-module: Example--  hs-source-dirs:   test-  default-language: Haskell2010--  ghc-options: -Wall -Werror--  build-depends:-    base  >= 4.6  && < 4.8,-    Cabal >= 1.19 && < 1.23,-    cabal-test-quickcheck  source-repository head   type:     git
− dist/build/exampleStub/exampleStub-tmp/exampleStub.hs
@@ -1,5 +0,0 @@-module Main ( main ) where-import Distribution.Simple.Test.LibV09 ( stubMain )-import Example ( tests )-main :: IO ()-main = stubMain tests
src/Distribution/TestSuite/QuickCheck.hs view
@@ -13,13 +13,12 @@     , testGroup     ) where --------------------------------------------------------------------------------import Control.Applicative    ((<$>), (<|>))-import Control.Monad          (foldM)-import Data.List              (isSuffixOf, stripPrefix)-import Data.Maybe             (catMaybes, fromMaybe)-import Distribution.TestSuite hiding (Result)-import Test.QuickCheck+import           Control.Applicative    ((<$>), (<|>))+import           Control.Monad          (foldM)+import           Data.List              (isSuffixOf, stripPrefix)+import           Data.Maybe             (catMaybes, fromMaybe)+import           Distribution.TestSuite hiding (Result)+import           Test.QuickCheck   ------------------------------------------------------------------------------
− test/Example.hs
@@ -1,25 +0,0 @@--------------------------------------------------------------------------------module Example (tests) where---------------------------------------------------------------------------------import Distribution.TestSuite.QuickCheck----------------------------------------------------------------------------------tests :: IO [Test]-tests = return-    [ testProperty "Succeeds" True-    , testProperty "Fails" False-    , testGroup "May fail" mayFail-    ]----------------------------------------------------------------------------------mayFail :: [Test]-mayFail =-    [ testProperty "Maybe fails" neqNegation-    , testProperty "Probably fails" $ not . neqNegation-    ]--neqNegation :: Int -> Bool-neqNegation x = x /= -x