From d3634cf4ddc3f1d808373e34c651b9f2e4aade94 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 8 Apr 2024 00:08:48 -1000 Subject: [PATCH] dev: update failng doctests --- hledger-lib/Hledger/Read/Common.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hledger-lib/Hledger/Read/Common.hs b/hledger-lib/Hledger/Read/Common.hs index 6903a62ff..d4820e1df 100644 --- a/hledger-lib/Hledger/Read/Common.hs +++ b/hledger-lib/Hledger/Read/Common.hs @@ -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...