CC-delcont-alt 0.1.1.0 → 0.1.1.1
raw patch · 2 files changed
+4/−18 lines, 2 filesdep +doctestdep −test-frameworkdep −test-framework-doctest
Dependencies added: doctest
Dependencies removed: test-framework, test-framework-doctest
Files
- CC-delcont-alt.cabal +2/−2
- DocTest.hs +2/−16
CC-delcont-alt.cabal view
@@ -1,5 +1,5 @@ name: CC-delcont-alt -version: 0.1.1.0 +version: 0.1.1.1 author: Oleg Kiselyov maintainer: shelarcy <shelarcy@gmail.com> license: BSD3 @@ -38,4 +38,4 @@ default-language: Haskell2010 build-depends: base >= 3 && < 5, mtl, CC-delcont-alt, - test-framework, test-framework-doctest + doctest
DocTest.hs view
@@ -1,17 +1,3 @@-import Test.Framework-import Test.Framework.Providers.DocTest (docTest)---- Test.Framework.Providers.DocTest doesn't export defaultOptions.-defaultOptions = RunnerOptions { ropt_threads = Nothing- , ropt_test_options = Nothing- , ropt_test_patterns = Nothing- , ropt_xml_output = Nothing- , ropt_xml_nested = Nothing - , ropt_plain_output = Nothing- , ropt_hide_successes = Nothing- }+import Test.DocTest (doctest) -main = do- let testfiles = ["CC_Test1.hs", "CC_Test2.hs", "Generator1.hs", "Generator2.hs", "ProtocolRecovery.hs"]- doctests <- docTest testfiles ["-itests"]- defaultMainWithOpts [doctests] $ defaultOptions { ropt_plain_output = Just True }+main = doctest ["CC_Test1.hs", "CC_Test2.hs", "Generator1.hs", "Generator2.hs", "ProtocolRecovery.hs"]