packages feed

main-tester 0.2.0.0 → 0.2.0.1

raw patch · 3 files changed

+6/−1 lines, 3 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Test.Main: ProcessResult :: !ByteString -> !ByteString -> !ExitCode -> !(Maybe SomeException) -> ProcessResult
+ Test.Main: ProcessResult :: !ByteString -> !ByteString -> !ExitCode -> !Maybe SomeException -> ProcessResult
- Test.Main: [prException] :: ProcessResult -> !(Maybe SomeException)
+ Test.Main: [prException] :: ProcessResult -> !Maybe SomeException
- Test.Main.Internal: ProcessResult :: !ByteString -> !ByteString -> !ExitCode -> !(Maybe SomeException) -> ProcessResult
+ Test.Main.Internal: ProcessResult :: !ByteString -> !ByteString -> !ExitCode -> !Maybe SomeException -> ProcessResult
- Test.Main.Internal: [prException] :: ProcessResult -> !(Maybe SomeException)
+ Test.Main.Internal: [prException] :: ProcessResult -> !Maybe SomeException

Files

ChangeLog.md view
@@ -1,3 +1,7 @@+# 0.2.0.1++- Fix: Fix `Handle` leak (!2)+ # 0.2.0.0  - Breaking change:
main-tester.cabal view
@@ -1,5 +1,5 @@ name:                main-tester-version:             0.2.0.0+version:             0.2.0.1 synopsis:            Capture stdout/stderr/exit code, and replace stdin of your main function. description:         See README.md for detail. homepage:            https://gitlab.com/igrep/main-tester#readme
src/Test/Main.hs view
@@ -125,6 +125,7 @@         return save       restore save = do         hDuplicateTo save from+        hClose save         setEnc from         hSetBuffering from saveBuf