dev: errors: update doctests
This commit is contained in:
		
							parent
							
								
									a7d84b5fec
								
							
						
					
					
						commit
						7d8fbe2dc0
					
				| @ -1391,10 +1391,10 @@ commenttagsanddatesp mYear = do | ||||
| -- Left ...not a bracketed date... | ||||
| -- | ||||
| -- >>> either (Left . customErrorBundlePretty) Right $ rtp (bracketeddatetagsp Nothing) "[2016/1/32]" | ||||
| -- Left ...1:2:...well-formed but invalid date: 2016/1/32... | ||||
| -- Left ...1:2:...This date is invalid... | ||||
| -- | ||||
| -- >>> either (Left . customErrorBundlePretty) Right $ rtp (bracketeddatetagsp Nothing) "[1/31]" | ||||
| -- Left ...1:2:...partial date 1/31 found, but the current year is unknown... | ||||
| -- Left ...1:2:...The partial date 1/31 can not be parsed... | ||||
| -- | ||||
| -- >>> either (Left . customErrorBundlePretty) Right $ rtp (bracketeddatetagsp Nothing) "[0123456789/-.=/-.=]" | ||||
| -- Left ...1:13:...expecting month or day... | ||||
|  | ||||
| @ -797,7 +797,7 @@ makeHledgerClassyLenses ''ReportSpec | ||||
| -- >>> _rsQuery <$> setEither querystring ["assets"] defreportspec | ||||
| -- Right (Acct (RegexpCI "assets")) | ||||
| -- >>> _rsQuery <$> setEither querystring ["(assets"] defreportspec | ||||
| -- Left "this regular expression could not be compiled: (assets" | ||||
| -- Left "This regular expression is malformed... | ||||
| -- >>> _rsQuery $ set querystring ["assets"] defreportspec | ||||
| -- Acct (RegexpCI "assets") | ||||
| -- >>> _rsQuery $ set querystring ["(assets"] defreportspec | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user