From 985c833eb47cd7ea46d064f2cf6c09f6b8007142 Mon Sep 17 00:00:00 2001 From: Kazu Yamamoto Date: Mon, 26 Mar 2012 17:18:07 +0900 Subject: [PATCH] Using doctest v0.6. --- src/Test/Framework/Providers/DocTest.hs | 2 +- test-framework-doctest.cabal | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Test/Framework/Providers/DocTest.hs b/src/Test/Framework/Providers/DocTest.hs index 4657db2..bfd995f 100644 --- a/src/Test/Framework/Providers/DocTest.hs +++ b/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 diff --git a/test-framework-doctest.cabal b/test-framework-doctest.cabal index 5adb8e0..35611f5 100644 --- a/test-framework-doctest.cabal +++ b/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