From 9ff4a23492d31728138b4a0927591bab22b25189 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 22 Jun 2009 19:46:31 +0000 Subject: [PATCH] note doctest.hs issue --- tools/doctest.hs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/doctest.hs b/tools/doctest.hs index 463167bb1..e361dbf15 100644 --- a/tools/doctest.hs +++ b/tools/doctest.hs @@ -21,10 +21,18 @@ $ ls doctest.hs doctest.hs @ +Issues: + 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 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