lib: fix doctests
This commit is contained in:
parent
6db6f9aa2c
commit
4eb7a617db
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user