genvalidity-hspec-hashable 0.2.0.2 → 0.2.0.3
raw patch · 2 files changed
+16/−13 lines, 2 filesdep ~genvaliditydep ~genvalidity-propertydep ~validity
Dependency ranges changed: genvalidity, genvalidity-property, validity
Files
genvalidity-hspec-hashable.cabal view
@@ -2,10 +2,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 2b637970f7bf3cc446b79b77aa876a1b7007aa302283aceb0e74d0e246cbbab4+-- hash: b798417d69036aa9d65b8ed54c2800ce2c96bfdbf2585077b0df64e2447a238e name: genvalidity-hspec-hashable-version: 0.2.0.2+version: 0.2.0.3 synopsis: Standard spec's for Hashable instances description: Standard spec's for Hashable instances category: Testing@@ -27,6 +27,10 @@ location: https://github.com/NorfairKing/validity library+ exposed-modules:+ Test.Validity.Hashable+ other-modules:+ Paths_genvalidity_hspec_hashable hs-source-dirs: src build-depends:@@ -38,15 +42,13 @@ , hashable >=1.2 && <1.3 , hspec , validity >=0.5- exposed-modules:- Test.Validity.Hashable- other-modules:- Paths_genvalidity_hspec_hashable default-language: Haskell2010 test-suite genvalidity-hspec-hashable-doctests type: exitcode-stdio-1.0 main-is: DocTest.hs+ other-modules:+ Paths_genvalidity_hspec_hashable hs-source-dirs: doctest ghc-options: -threaded@@ -56,26 +58,26 @@ , doctest , genvalidity-hspec-hashable , hashable >=1.2 && <1.3- other-modules:- Paths_genvalidity_hspec_hashable default-language: Haskell2010 test-suite genvalidity-hspec-hashable-test type: exitcode-stdio-1.0 main-is: Spec.hs+ other-modules:+ Test.Validity.HashableSpec+ Paths_genvalidity_hspec_hashable hs-source-dirs: test/ ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall build-depends: QuickCheck , base- , genvalidity+ , genvalidity >=0.7 , genvalidity-hspec , genvalidity-hspec-hashable+ , genvalidity-property >=0.3 , hashable , hspec , hspec-core- other-modules:- Test.Validity.HashableSpec- Paths_genvalidity_hspec_hashable+ , validity >=0.9 default-language: Haskell2010
test/Test/Validity/HashableSpec.hs view
@@ -16,7 +16,8 @@ spec :: Spec spec = do- hashableSpecOnValid @Double+ hashableSpecOnValid @Rational+ -- hashableSpecOnValid @Double DOES NOT HOLD hashableSpec @Int hashableSpecOnArbitrary @Int hashableSpec @HashableValid