From 1287081ffd024accc2ebc463cc4483e5e9a1b892 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 8 Jun 2018 19:21:40 -0700 Subject: [PATCH] tools: doctest: slight cleanup --- hledger-lib/tests/doctests.hs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hledger-lib/tests/doctests.hs b/hledger-lib/tests/doctests.hs index 05bc0f76d..c08e0dabe 100644 --- a/hledger-lib/tests/doctests.hs +++ b/hledger-lib/tests/doctests.hs @@ -8,4 +8,7 @@ main = do fs1 <- glob "Hledger/**/*.hs" fs2 <- glob "Text/**/*.hs" --fs3 <- glob "other/ledger-parse/**/*.hs" - doctest $ filter (not . isInfixOf "/.") $ ["--fast", "Hledger.hs"] ++ fs1 ++ fs2 + let fs = filter (not . isInfixOf "/.") $ ["Hledger.hs"] ++ fs1 ++ fs2 + doctest $ + "--fast" : -- https://github.com/sol/doctest#a-note-on-performance + fs