lib: fix doctests

This commit is contained in:
Simon Michael 2016-11-12 14:14:04 -08:00
parent 6db6f9aa2c
commit 4eb7a617db

View File

@ -5,5 +5,6 @@ import "Glob" System.FilePath.Glob
import Test.DocTest import Test.DocTest
main = do main = do
fs <- ("Hledger.hs" :) . filter (not . isInfixOf "/.") <$> glob "Hledger/**/*.hs" fs1 <- filter (not . isInfixOf "/.") <$> glob "Hledger/**/*.hs"
doctest fs fs2 <- filter (not . isInfixOf "/.") <$> glob "other/ledger-parse/**/*.hs"
doctest $ ["Hledger.hs"] ++ fs1 ++ fs2