test suite found a case that was not properly parsed

This commit is contained in:
Joey Hess 2013-10-16 16:10:56 -04:00
parent 4c6d2c0bbb
commit 99c081b87c

View file

@ -233,6 +233,10 @@ toRecurrance s = case words s of
Divisible
<$> getdivisor sn
<*> noday something
(something:"divisible":"by":sn:[]) ->
Divisible
<$> getdivisor sn
<*> noday something
_ -> Nothing
where
constructor "week" = Just Weekly