@@ -19,7 +19,7 @@ import Control.Monad (void, when, forM_, replicateM_)
1919import Control.Monad.IO.Class (MonadIO(liftIO))
2020import Control.Monad.State (MonadState, get, modify, runStateT
2121 , StateT(..), evalStateT)
22−import Data.Foldable (fold)
22+import Data.Foldable (fold)
2323import Data.IORef (readIORef, modifyIORef, newIORef)
2424#if !(MIN_VERSION_base(4,11,0))
2525import Data.Semigroup (Semigroup, (<>))
@@ -410,7 +410,7 @@ main = hspec
410410 concurrentFoldrApplication
411411 prop "concurrent foldl application" $ withMaxSuccess maxTestCount
412412 concurrentFoldlApplication
413−
413+
414414 describe "take on infinite concurrent stream" $ takeInfinite asyncly
415415 describe "take on infinite concurrent stream" $ takeInfinite wAsyncly
416416 describe "take on infinite concurrent stream" $ takeInfinite aheadly
@@ -418,7 +418,7 @@ main = hspec
418418 ---------------------------------------------------------------------------
419419 -- Monadic state transfer in concurrent tasks
420420 ---------------------------------------------------------------------------
421−
421+
422422 describe "Monadic state transfer in concurrent tasks" $ do
423423 -- XXX Can we write better test cases to hit every case?
424424 it "async: state is saved and used if the work is partially enqueued"
@@ -478,6 +478,7 @@ main = hspec
478478 replicate 4000 $ S.yieldM $ threadDelay 1000000)
479479 `shouldReturn` ()
480480
481+#ifdef DEVBUILD
481482 describe "restricts concurrency and cleans up extra tasks" $ do
482483 it "take 1 asyncly" $ checkCleanup 2 asyncly (S.take 1)
483484 it "take 1 wAsyncly" $ checkCleanup 2 wAsyncly (S.take 1)
@@ -486,3 +487,4 @@ main = hspec
486487 it "takeWhile (< 0) asyncly" $ checkCleanup 2 asyncly (S.takeWhile (< 0))
487488 it "takeWhile (< 0) wAsyncly" $ checkCleanup 2 wAsyncly (S.takeWhile (< 0))
488489 it "takeWhile (< 0) aheadly" $ checkCleanup 2 aheadly (S.takeWhile (< 0))
490+#endif