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
|
||||
[ pure AnyTime
|
||||
, SpecificTime
|
||||
<$> nonNegative arbitrary `suchThat` (<= 23)
|
||||
<*> nonNegative arbitrary `suchThat` (<= 59)
|
||||
<$> choose (0, 23)
|
||||
<*> choose (1, 59)
|
||||
]
|
||||
|
||||
instance Arbitrary Recurrance where
|
||||
|
|
Loading…
Add table
Reference in a new issue