Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doctest v0.6 #8

Merged
merged 1 commit into from Mar 26, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Test/Framework/Providers/DocTest.hs
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions test-framework-doctest.cabal
Expand Up @@ -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
Expand All @@ -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