hspec-hashable 0.1.0.0 → 0.1.0.1
raw patch · 2 files changed
+3/−3 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Test.Hspec.Hashable: dupsByMatchingSnd :: (Eq b) => [(a, b)] -> [(a, b)] -> [(a, b)]
+ Test.Hspec.Hashable: dupsByMatchingSnd :: Eq b => [(a, b)] -> [(a, b)] -> [(a, b)]
Files
- hspec-hashable.cabal +1/−1
- src/Test/Hspec/Hashable.hs +2/−2
hspec-hashable.cabal view
@@ -1,5 +1,5 @@ name: hspec-hashable-version: 0.1.0.0+version: 0.1.0.1 synopsis: Initial project template from stack description: Please see README.md homepage: https://github.com/plow-technologies/hspec-hashable#readme
src/Test/Hspec/Hashable.hs view
@@ -44,7 +44,7 @@ => Int -> Proxy a -> Spec testHashableUniqueness sampleSize proxy = do case sampleSize <= 0 of- True -> fail ("The sample size must be greater than zero. The sample size you provided is: " ++ show sampleSize ++ ".")+ True -> error $ "The sample size must be greater than zero. The sample size you provided is: " ++ show sampleSize ++ "." False -> do testSelfEquality sampleSize typeName proxy testHashableCollision sampleSize typeName proxy@@ -58,7 +58,7 @@ => Int -> String -> Proxy a -> Spec testHashableUniquenessWithoutTypeable sampleSize typeName proxy = do case sampleSize <= 0 of- True -> fail ("The sample size must be greater than zero. The sample size you provided is: " ++ show sampleSize ++ ".")+ True -> error $ "The sample size must be greater than zero. The sample size you provided is: " ++ show sampleSize ++ "." False -> do testSelfEquality sampleSize typeName proxy testHashableCollision sampleSize typeName proxy