test suite found a case that was not properly parsed
This commit is contained in:
parent
4c6d2c0bbb
commit
99c081b87c
1 changed files with 4 additions and 0 deletions
|
@ -233,6 +233,10 @@ toRecurrance s = case words s of
|
||||||
Divisible
|
Divisible
|
||||||
<$> getdivisor sn
|
<$> getdivisor sn
|
||||||
<*> noday something
|
<*> noday something
|
||||||
|
(something:"divisible":"by":sn:[]) ->
|
||||||
|
Divisible
|
||||||
|
<$> getdivisor sn
|
||||||
|
<*> noday something
|
||||||
_ -> Nothing
|
_ -> Nothing
|
||||||
where
|
where
|
||||||
constructor "week" = Just Weekly
|
constructor "week" = Just Weekly
|
||||||
|
|
Loading…
Reference in a new issue