Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Using doctest v0.6.

  • Loading branch information...
commit 985c833eb47cd7ea46d064f2cf6c09f6b8007142 1 parent d5d236a
@kazu-yamamoto kazu-yamamoto authored
View
2  src/Test/Framework/Providers/DocTest.hs
@@ -58,7 +58,7 @@ docTest::[FilePath] -- ^ Paths to root modules
-> [String] -- ^ Options passed to ghci
-> IO Test
docTest rootPaths options = do
- tests <- DocTest.getDocTests ([Flag_Verbosity "0", Flag_NoWarnings] ++ map Flag_OptGhc options) rootPaths
+ tests <- DocTest.getDocTests options rootPaths
return $ toTestFrameworkGroup (rootPaths ++ options) tests
toTestFrameworkTest :: [String] -> DocTest.DocTest -> Test
View
4 test-framework-doctest.cabal
@@ -32,7 +32,7 @@ test-suite doctest
base >= 4 && < 5,
test-framework >= 0.4,
test-framework-hunit >= 0.2,
- doctest >= 0.4.0 && < 0.6,
+ doctest >= 0.6,
haddock
Library
@@ -41,7 +41,7 @@ Library
Exposed-modules: Test.Framework.Providers.DocTest
Build-depends:
base >= 4 && < 5,
- doctest >= 0.4.0 && < 0.6,
+ doctest >= 0.6,
test-framework >= 0.4,
test-framework-hunit >= 0.2,
haddock
Please sign in to comment.
Something went wrong with that request. Please try again.