Skip to content

Commit

Permalink
Combine the prelude doctests into a single pass
Browse files Browse the repository at this point in the history
Hopefully makes the tests pass again on Nix
  • Loading branch information
christiaanb committed Dec 21, 2018
1 parent ba88e0c commit 9f5f930
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions clash-prelude/tests/doctests.hs
Expand Up @@ -4,9 +4,9 @@ module Main where
import Test.DocTest (doctest)

main :: IO ()
main = doctest (docTestOpts ++ ["-isrc","src/Clash/Prelude.hs"]) >>
doctest (docTestOpts ++ ["src/Clash/Tutorial.hs"]) >>
doctest (docTestOpts ++ ["src/Clash/Examples.hs"])
main = doctest (docTestOpts ++ ["-isrc","src/Clash/Prelude.hs"
,"src/Clash/Tutorial.hs"
,"src/Clash/Examples.hs"])

docTestOpts :: [String]
docTestOpts =
Expand Down

0 comments on commit 9f5f930

Please sign in to comment.