packages feed

conduit-extra 1.1.3 → 1.1.3.1

raw patch · 2 files changed

+12/−3 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

conduit-extra.cabal view
@@ -1,5 +1,5 @@ Name:                conduit-extra-Version:             1.1.3+Version:             1.1.3.1 Synopsis:            Batteries included conduit: adapters for common libraries. Description:     The conduit package itself maintains relative small dependencies. The purpose of this package is to collect commonly used utility functions wrapping other library dependencies, without depending on heavier-weight dependencies. The basic idea is that this package should only depend on haskell-platform packages and conduit.
test/Data/Conduit/ProcessSpec.hs view
@@ -54,8 +54,17 @@          threadDelay 1500000 -        mec2 <- getStreamingProcessExitCode cph-        mec2 `shouldBe` Just ExitSuccess+        -- For slow systems where sleep may take longer than 1.5 seconds, do+        -- this in a loop.+        let loop 0 = error "Took too long for sleep to exit, your system is acting funny"+            loop i = do+                mec2 <- getStreamingProcessExitCode cph+                case mec2 of+                    Nothing -> do+                        threadDelay 500000+                        loop (pred i)+                    Just _ -> mec2 `shouldBe` Just ExitSuccess+        loop 5          ec <- waitForStreamingProcess cph         ec `shouldBe` ExitSuccess