git.iko.soy/typeable/bloodhound
on master help sign in
QuickCheck 2.8 and newer only
5f2951eChris Allen
bloodhound.cabal+1−1
@@ -67,7 +67,7 @@ test-suite tests
67 time,
67 time,
68 aeson,
68 aeson,
69 semigroups,
69 semigroups,
70− QuickCheck,
70+ QuickCheck >= 2.8,
71 vector,
71 vector,
72 unordered-containers >= 0.2.5.0 && <0.3,
72 unordered-containers >= 0.2.5.0 && <0.3,
73 mtl,
73 mtl,
stack-7.8.yaml+1
@@ -9,6 +9,7 @@ extra-deps:
9- http-types-0.9
9- http-types-0.9
10- http-client-0.5.0
10- http-client-0.5.0
11- attoparsec-0.13.0.1
11- attoparsec-0.13.0.1
12+- QuickCheck-2.8.2
12- doctest-0.10.1
13- doctest-0.10.1
13- doctest-prop-0.2.0.1
14- doctest-prop-0.2.0.1
14- quickcheck-properties-0.1
15- quickcheck-properties-0.1
tests/tests.hs−3
@@ -585,9 +585,6 @@ noDuplicates xs = nub xs == xs
585instance Arbitrary NominalDiffTime where
585instance Arbitrary NominalDiffTime where
586 arbitrary = fromInteger <$> arbitrary
586 arbitrary = fromInteger <$> arbitrary
587
587
588−instance (Arbitrary k, Ord k, Arbitrary v) => Arbitrary (M.Map k v) where
589− arbitrary = M.fromList <$> arbitrary
590−
591instance Arbitrary Text where
588instance Arbitrary Text where
592 arbitrary = T.pack <$> arbitrary
589 arbitrary = T.pack <$> arbitrary
593
590