packages feed

doctest 0.11.0 → 0.11.1

raw patch · 3 files changed

+8/−5 lines, 3 filesdep +code-pagedep ~base-compatPVP ok

version bump matches the API change (PVP)

Dependencies added: code-page

Dependency ranges changed: base-compat

API changes (from Hackage documentation)

Files

LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2009-2015 Simon Hengel <sol@typeful.net>+Copyright (c) 2009-2017 Simon Hengel <sol@typeful.net>  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal
doctest.cabal view
@@ -1,5 +1,5 @@ name:             doctest-version:          0.11.0+version:          0.11.1 synopsis:         Test interactive Haskell examples description:      The doctest program checks examples in source code comments.                   It is modeled after doctest for Python@@ -12,7 +12,7 @@ homepage:         https://github.com/sol/doctest#readme license:          MIT license-file:     LICENSE-copyright:        (c) 2009-2015 Simon Hengel+copyright:        (c) 2009-2017 Simon Hengel author:           Simon Hengel <sol@typeful.net> maintainer:       Simon Hengel <sol@typeful.net> build-type:       Simple@@ -50,9 +50,10 @@     , Language.Haskell.GhciWrapper   build-depends:       base          == 4.*-    , base-compat   >= 0.4.2+    , base-compat   >= 0.7.0     , ghc           >= 7.0 && < 8.2     , syb           >= 0.3+    , code-page     >= 0.1     , deepseq     , directory     , filepath@@ -88,6 +89,7 @@       base     , ghc     , syb+    , code-page     , deepseq     , directory     , filepath
src/Run.hs view
@@ -19,6 +19,7 @@ import           System.Exit (exitFailure, exitSuccess) import           System.FilePath ((</>), takeExtension) import           System.IO+import           System.IO.CodePage (withCP65001)  import qualified Control.Exception as E import           Panic@@ -144,5 +145,5 @@   -- get examples from Haddock comments   modules <- getDocTests args -  Interpreter.withInterpreter args $ \repl -> do+  Interpreter.withInterpreter args $ \repl -> withCP65001 $ do     runModules repl modules