packages feed

doctest 0.9.4 → 0.9.4.1

raw patch · 3 files changed

+7/−9 lines, 3 filesdep ~ghcdep ~ghc-pathsdep ~sybPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: ghc, ghc-paths, syb

API changes (from Hackage documentation)

Files

doctest.cabal view
@@ -1,5 +1,5 @@ name:             doctest-version:          0.9.4+version:          0.9.4.1 synopsis:         Test interactive Haskell examples description:      The doctest program checks examples in source code comments.                   It is modeled after doctest for Python@@ -46,13 +46,13 @@     , Util   build-depends:       base          == 4.*-    , ghc           >= 6.12 && < 7.8-    , syb+    , ghc           >= 7.0 && < 7.8+    , syb           >= 0.3 && < 0.4     , deepseq     , directory     , filepath     , process-    , ghc-paths     == 0.1.*+    , ghc-paths     >= 0.1.0.9     , transformers  executable doctest
src/Extract.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE CPP, DeriveDataTypeable, StandaloneDeriving, DeriveFunctor #-}+{-# LANGUAGE CPP, DeriveDataTypeable, DeriveFunctor #-} module Extract (Module(..), extract) where  import           Prelude hiding (mod, concat)@@ -57,8 +57,6 @@ , moduleSetup   :: Maybe a , moduleContent :: [a] } deriving (Eq, Functor)--deriving instance Show a => Show (Module a)  instance NFData a => NFData (Module a) where   rnf (Module name setup content) = name `deepseq` setup `deepseq` content `deepseq` ()
src/Report.hs view
@@ -114,14 +114,14 @@    Summary _ _ e1 f1 <- gets reportStateSummary -  -- only run tests, if seutp does not produce any errors/failures+  -- only run tests, if setup does not produce any errors/failures   when (e0 == e1 && f0 == f1) $     forM_ examples $       runTestGroup repl setup_   where     reload :: IO ()     reload = do-      -- NOTE: It is important do the :reload first!  There was some odd bug+      -- NOTE: It is important to do the :reload first!  There was some odd bug       -- with a previous version of GHC (7.4.1?).       void $ Interpreter.eval repl   ":reload"       void $ Interpreter.eval repl $ ":m *" ++ module_