mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 07:09:28 +03:00
dev: update failng doctests
This commit is contained in:
parent
8e0adec126
commit
d3634cf4dd
@ -1515,10 +1515,10 @@ commenttagsanddatesp mYear = do
|
||||
-- Left ...not a bracketed date...
|
||||
--
|
||||
-- >>> either (Left . customErrorBundlePretty) Right $ rtp (bracketeddatetagsp Nothing) "[2016/1/32]"
|
||||
-- Left ...1:2:...This date is invalid...
|
||||
-- Left ...1:2:...This is not a valid date...
|
||||
--
|
||||
-- >>> either (Left . customErrorBundlePretty) Right $ rtp (bracketeddatetagsp Nothing) "[1/31]"
|
||||
-- Left ...1:2:...The partial date 1/31 can not be parsed...
|
||||
-- Left ...1:2:...This partial date can not be parsed because the current year is unknown...
|
||||
--
|
||||
-- >>> either (Left . customErrorBundlePretty) Right $ rtp (bracketeddatetagsp Nothing) "[0123456789/-.=/-.=]"
|
||||
-- Left ...1:13:...expecting month or day...
|
||||
|
Loading…
Reference in New Issue
Block a user