diff --git a/hledger-lib/tests/doctests.hs b/hledger-lib/tests/doctests.hs index ca472f634..53def1d12 100644 --- a/hledger-lib/tests/doctests.hs +++ b/hledger-lib/tests/doctests.hs @@ -5,5 +5,6 @@ import "Glob" System.FilePath.Glob import Test.DocTest main = do - fs <- ("Hledger.hs" :) . filter (not . isInfixOf "/.") <$> glob "Hledger/**/*.hs" - doctest fs + fs1 <- filter (not . isInfixOf "/.") <$> glob "Hledger/**/*.hs" + fs2 <- filter (not . isInfixOf "/.") <$> glob "other/ledger-parse/**/*.hs" + doctest $ ["Hledger.hs"] ++ fs1 ++ fs2