note doctest.hs issue

This commit is contained in:
Simon Michael 2009-06-22 19:46:31 +00:00
parent edc0913ed9
commit 9ff4a23492

View File

@ -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