fix quickcheck range

This commit is contained in:
Joey Hess 2013-11-01 11:54:26 -04:00
parent 6d8906a995
commit cfc6d217db

View file

@ -321,8 +321,8 @@ instance Arbitrary ScheduledTime where
arbitrary = oneof arbitrary = oneof
[ pure AnyTime [ pure AnyTime
, SpecificTime , SpecificTime
<$> nonNegative arbitrary `suchThat` (<= 23) <$> choose (0, 23)
<*> nonNegative arbitrary `suchThat` (<= 59) <*> choose (1, 59)
] ]
instance Arbitrary Recurrance where instance Arbitrary Recurrance where