aboutsummaryrefslogtreecommitdiffstats
path: root/test/Doctest.hs
diff options
context:
space:
mode:
authorYann Herklotz <git@ymhg.org>2019-05-09 23:18:10 +0100
committerYann Herklotz <git@ymhg.org>2019-05-09 23:18:10 +0100
commit77702d5492ba19b6e3e0dda9e9460a8bb67a8e3f (patch)
tree1fb623c5b94aab30c7ab74d34942390827cb0a5d /test/Doctest.hs
parent76ce30d979686307babe8ebb6269072338f24910 (diff)
downloadverismith-77702d5492ba19b6e3e0dda9e9460a8bb67a8e3f.tar.gz
verismith-77702d5492ba19b6e3e0dda9e9460a8bb67a8e3f.zip
Add new pretty printer with indentation
Diffstat (limited to 'test/Doctest.hs')
-rw-r--r--test/Doctest.hs5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/Doctest.hs b/test/Doctest.hs
index 44fecac..1b899c3 100644
--- a/test/Doctest.hs
+++ b/test/Doctest.hs
@@ -1,11 +1,8 @@
module Main where
import Build_doctests (flags, module_sources, pkgs)
-import Data.Foldable (traverse_)
import Test.DocTest (doctest)
main :: IO ()
-main = do
- traverse_ putStrLn args -- optionally print arguments
- doctest args
+main = doctest args
where args = flags ++ pkgs ++ module_sources