fix quickcheck range
This commit is contained in:
parent
6d8906a995
commit
cfc6d217db
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue