git.iko.soy/typeable/http-api-data
on master help sign in
Add doctest test suite
commitd8a6fbc8baddb77aa08a41706e95d6a17b55d03f authorNickolay Kudasov <nickolay.kudasov@gmail.com> dateSun 4 Oct 2015, 04:11 (11 years ago) parent1c0f937
2 files changed+13
http-api-data.cabal+6 test/DocTest.hs+7
http-api-data.cabal+6
@@ -39,6 +39,12 @@ test-suite test
3939 , text
4040 , time
4141
42+test-suite doctest
43+ build-depends: base, doctest, Glob
44+ hs-source-dirs: test
45+ main-is: DocTest.hs
46+ type: exitcode-stdio-1.0
47+
4248source-repository head
4349 type: git
4450 location: https://github.com/fizruk/http-api-data
test/DocTest.hsnew file+7
@@ -0,0 +1,7 @@
1+module Main (main) where
2+
3+import System.FilePath.Glob (glob)
4+import Test.DocTest (doctest)
5+
6+main :: IO ()
7+main = glob "Web/**/*.hs" >>= doctest