packages feed

broadcast-chan-tests 0.2.1 → 0.2.1.1

raw patch · 5 files changed

+10/−33 lines, 5 filesdep −bifunctorsdep −transformersdep ~basedep ~broadcast-chandep ~optparse-applicativePVP ok

version bump matches the API change (PVP)

Dependencies removed: bifunctors, transformers

Dependency ranges changed: base, broadcast-chan, optparse-applicative, random, tasty

API changes (from Hackage documentation)

Files

BroadcastChan/Test.hs view
@@ -1,4 +1,3 @@-{-# LANGUAGE CPP #-} {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE Trustworthy #-} {-# LANGUAGE ScopedTypeVariables #-}@@ -27,9 +26,6 @@     ) where  import Prelude hiding (seq)-#if !MIN_VERSION_base(4,8,0)-import Control.Applicative ((<$>),(<*>))-#endif import Control.Concurrent (threadDelay) import Control.Concurrent.Async (wait, withAsync) import Control.Concurrent.MVar@@ -53,11 +49,7 @@ import Options.Applicative (switch, long, help) import System.Clock     (Clock(Monotonic), TimeSpec, diffTimeSpec, getTime, toNanoSecs)-#if !MIN_VERSION_base(4,7,0)-import System.Posix.Env (setEnv)-#else import System.Environment (setEnv)-#endif import System.IO (Handle, SeekMode(AbsoluteSeek), hPrint, hSeek) import System.IO.Temp (withSystemTempFile) import Test.Tasty@@ -349,9 +341,6 @@ runTests :: String -> [TestTree] -> IO () runTests name tests = do     setEnv "TASTY_NUM_THREADS" "100"-#if !MIN_VERSION_base(4,7,0)-        True-#endif     travisTestReporter travisConfig ingredients $ testGroup name tests   where     ingredients = [ includingOptions [Option (Proxy :: Proxy SlowTests)] ]
CHANGELOG.md view
@@ -1,3 +1,7 @@+0.2.1.1 [2020.03.05]+--------------------+* Bump for new release of broadcast-chan.+ 0.2.1 [2019.11.17] ------------------ * Bump for new release of broadcast-chan.
broadcast-chan-tests.cabal view
@@ -1,5 +1,5 @@ Name:               broadcast-chan-tests-Version:            0.2.1+Version:            0.2.1.1  Homepage:           https://github.com/merijn/broadcast-chan Bug-Reports:        https://github.com/merijn/broadcast-chan/issues@@ -14,8 +14,8 @@ Category:           System Cabal-Version:      >= 1.10 Build-Type:         Simple-Tested-With:        GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2,-                    GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.1+Tested-With:        GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5,+                    GHC == 8.8.3, GHC == 8.10.1  Extra-Source-Files: CHANGELOG.md @@ -30,14 +30,13 @@   GHC-Options:          -Wall -O2 -fno-warn-unused-do-bind   Exposed-Modules:      BroadcastChan.Test -  Other-Extensions:     CPP-                        DeriveDataTypeable+  Other-Extensions:     DeriveDataTypeable                         ScopedTypeVariables                         Trustworthy -  Build-Depends:        base >= 4.7 && < 4.14+  Build-Depends:        base >= 4.7 && < 4.15                ,        async >= 2.1 && < 2.3-               ,        broadcast-chan == 0.2.1+               ,        broadcast-chan == 0.2.1.1                ,        clock >= 0.7 && < 0.9                ,        containers >= 0.4 && < 0.7                ,        optparse-applicative >= 0.12 && < 0.16@@ -50,12 +49,6 @@                ,        tasty-travis >= 0.2 && < 0.3                ,        temporary >= 1.2 && < 1.4                ,        text >= 1.0 && < 1.3--  if impl(ghc < 7.10)-    Build-Depends:      bifunctors >= 0.1 && < 5.6--  if impl(ghc < 8.0)-    Build-Depends:      transformers >= 0.2 && < 0.6  Test-Suite basic   Default-Language:     Haskell2010
tests/Basic.hs view
@@ -1,7 +1,3 @@-{-# LANGUAGE CPP #-}-#if !MIN_VERSION_base(4,8,0)-import Control.Applicative ((<$), (<$>))-#endif import Control.Foldl (Fold, FoldM) import qualified Control.Foldl as Foldl import Control.Monad (forM_)
tests/IOTest.hs view
@@ -1,9 +1,4 @@ {-# LANGUAGE BangPatterns #-}-{-# LANGUAGE CPP #-}-#if !MIN_VERSION_base(4,8,0)-import Control.Applicative ((<$>))-import Data.Foldable (Foldable(..))-#endif  import Control.Monad (void) import Data.Foldable (forM_, foldlM)