packages feed

genvalidity-hspec-cereal 0.2.0.2 → 0.2.0.3

raw patch · 2 files changed

+19/−13 lines, 2 filesdep +genvalidity-propertydep +validitydep ~genvalidity

Dependencies added: genvalidity-property, validity

Dependency ranges changed: genvalidity

Files

genvalidity-hspec-cereal.cabal view
@@ -2,10 +2,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: fe525d8c2842f27b092375a2de7229f5d93be18ec53059d8934aafcce55aabcd+-- hash: 454f078fe1303d975da5d8d37dbffbf97fb2f05be8cdd51157a763afe69211fe  name:           genvalidity-hspec-cereal-version:        0.2.0.2+version:        0.2.0.3 synopsis:       Standard spec's for cereal-related instances description:    Standard spec's for cereal-related Instances category:       Testing@@ -25,6 +25,10 @@   location: https://github.com/NorfairKing/validity  library+  exposed-modules:+      Test.Validity.Cereal+  other-modules:+      Paths_genvalidity_hspec_cereal   hs-source-dirs:       src/   ghc-options: -Wall@@ -36,39 +40,40 @@     , genvalidity >=0.5     , genvalidity-hspec >=0.6     , hspec-  exposed-modules:-      Test.Validity.Cereal-  other-modules:-      Paths_genvalidity_hspec_cereal   default-language: Haskell2010  test-suite genvalidity-hspec-cereal-doctests   type: exitcode-stdio-1.0   main-is: DocTest.hs+  other-modules:+      Paths_genvalidity_hspec_cereal   hs-source-dirs:       doctest   ghc-options: -threaded   build-depends:       base     , doctest+    , genvalidity >=0.7     , genvalidity-hspec-cereal+    , genvalidity-property >=0.3     , hspec-  other-modules:-      Paths_genvalidity_hspec_cereal+    , validity >=0.9   default-language: Haskell2010  test-suite genvalidity-hspec-cereal-test   type: exitcode-stdio-1.0   main-is: Spec.hs+  other-modules:+      Test.Validity.CerealSpec+      Paths_genvalidity_hspec_cereal   hs-source-dirs:       test/   ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall   build-depends:       base-    , genvalidity+    , genvalidity >=0.7     , genvalidity-hspec-cereal+    , genvalidity-property >=0.3     , hspec-  other-modules:-      Test.Validity.CerealSpec-      Paths_genvalidity_hspec_cereal+    , validity >=0.9   default-language: Haskell2010
test/Test/Validity/CerealSpec.hs view
@@ -10,6 +10,7 @@ spec :: Spec spec = do     serializeSpecOnGen (genListOf $ pure 'a') "sequence of 'a's" (const [])-    serializeSpecOnValid @Double+    -- serializeSpec @Double DOES NOT HOLD+    serializeSpecOnValid @Rational     serializeSpec @Int     serializeSpecOnArbitrary @Int