note doctest.hs issue
This commit is contained in:
		
							parent
							
								
									edc0913ed9
								
							
						
					
					
						commit
						9ff4a23492
					
				| @ -21,10 +21,18 @@ $ ls doctest.hs | |||||||
| doctest.hs | doctest.hs | ||||||
| @ | @ | ||||||
| 
 | 
 | ||||||
|  | Issues: | ||||||
|  | 
 | ||||||
| After writing this I found the doctest on hackage; that one runs haskell | After writing this I found the doctest on hackage; that one runs haskell | ||||||
| expressions in comments, converting them to hunit tests. We might add this | expressions in comments, converting them to hunit tests. We might add this | ||||||
| to that, and/or add this to hledger's built-in test runner. | to that, and/or add this to hledger's built-in test runner. | ||||||
| 
 | 
 | ||||||
|  | Error output seems to vary depending on whether things are compiled, eg: | ||||||
|  | hledger: parse error at (line 1, column 4) | ||||||
|  | vs: | ||||||
|  | "-" (line 2, column 1) | ||||||
|  | ledger-style functional tests may be more useful for this, see functest.hs. | ||||||
|  | 
 | ||||||
| -} | -} | ||||||
| 
 | 
 | ||||||
| module Main where | module Main where | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user