diff options
author | Yann Herklotz <git@ymhg.org> | 2019-04-01 10:52:06 +0100 |
---|---|---|
committer | Yann Herklotz <git@ymhg.org> | 2019-04-01 10:52:06 +0100 |
commit | ce3b5a9dc47c2325e1e9cc61279972048b9fbabd (patch) | |
tree | c8247d727328cc9c4c811b7778901c36b9c95274 /test | |
parent | ec33825c477eeaa7dca196f21b1de5b0579a3106 (diff) | |
download | verismith-ce3b5a9dc47c2325e1e9cc61279972048b9fbabd.tar.gz verismith-ce3b5a9dc47c2325e1e9cc61279972048b9fbabd.zip |
Add back fixed doctest
Diffstat (limited to 'test')
-rw-r--r-- | test/Doctest.hs | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/test/Doctest.hs b/test/Doctest.hs index 736ea72..421f3d6 100644 --- a/test/Doctest.hs +++ b/test/Doctest.hs @@ -1 +1,12 @@ -{-# options_ghc -F -pgmF doctest-discover -optF test/doctest.json #-} +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 + where + args = flags ++ pkgs ++ module_sources |