QuickCheck 2.8 and newer only
commit5f2951ebc9a7673498c6881cde34fe14da1933eb
authorChris Allen <cma@bitemyapp.com>
dateSun 21 Aug 2016, 12:52 (10 years ago)
parentaa8e9ab
bloodhound.cabal+1−1
@@ -67,7 +67,7 @@ test-suite tests
6767 time,
6868 aeson,
6969 semigroups,
70− QuickCheck,
70+ QuickCheck >= 2.8,
7171 vector,
7272 unordered-containers >= 0.2.5.0 && <0.3,
7373 mtl,
stack-7.8.yaml+1
@@ -9,6 +9,7 @@ extra-deps:
99- http-types-0.9
1010- http-client-0.5.0
1111- attoparsec-0.13.0.1
12+- QuickCheck-2.8.2
1213- doctest-0.10.1
1314- doctest-prop-0.2.0.1
1415- quickcheck-properties-0.1
tests/tests.hs−3
@@ -585,9 +585,6 @@ noDuplicates xs = nub xs == xs
585585instance Arbitrary NominalDiffTime where
586586 arbitrary = fromInteger <$> arbitrary
587587
588−instance (Arbitrary k, Ord k, Arbitrary v) => Arbitrary (M.Map k v) where
589− arbitrary = M.fromList <$> arbitrary
590−
591588instance Arbitrary Text where
592589 arbitrary = T.pack <$> arbitrary
593590