Skip to content

Commit 54fcfe5

Browse files
committed
test-strict-mvar: removed Test.Utils module
1 parent 9bbca2e commit 54fcfe5

File tree

3 files changed

+9
-33
lines changed

3 files changed

+9
-33
lines changed

test-strict-mvar/test-strict-mvar.cabal

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ test-suite test
2323
main-is: Main.hs
2424

2525
other-modules: Test.Control.Concurrent.Class.MonadMVar.Strict.WHNF
26-
Test.Utils
2726
default-language: Haskell2010
2827
default-extensions: ImportQualifiedPost
2928
build-depends: base,

test-strict-mvar/test/Test/Control/Concurrent/Class/MonadMVar/Strict/WHNF.hs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ module Test.Control.Concurrent.Class.MonadMVar.Strict.WHNF (tests) where
66

77
import Control.Concurrent.Class.MonadMVar.Strict
88
import Control.Monad (void)
9+
import Control.Monad.IOSim (monadicIOSim_)
910
import Data.Typeable (Typeable)
1011
import NoThunks.Class (OnlyCheckWhnf (OnlyCheckWhnf), unsafeNoThunks)
1112
import Test.QuickCheck.Monadic (PropertyM, monadicIO, monitor, run)
1213
import Test.Tasty (TestTree, testGroup)
1314
import Test.Tasty.QuickCheck (Fun, applyFun, counterexample, testProperty)
14-
import Test.Utils (monadicSim)
1515

1616
{-------------------------------------------------------------------------------
1717
Main test tree
@@ -40,21 +40,21 @@ tests = testGroup "Test.Control.Concurrent.Class.MonadMVar.Strict" [
4040
]
4141
, testGroup "IOSim" [
4242
testProperty "prop_newMVar" $ \x f ->
43-
monadicSim $ prop_newMVar x f
43+
monadicIOSim_ $ prop_newMVar x f
4444
, testProperty "prop_putMVar" $ \x f ->
45-
monadicSim $ prop_putMVar x f
45+
monadicIOSim_ $ prop_putMVar x f
4646
, testProperty "prop_swapMVar" $ \x f ->
47-
monadicSim $ prop_swapMVar x f
47+
monadicIOSim_ $ prop_swapMVar x f
4848
, testProperty "prop_tryPutMVar" $ \x f ->
49-
monadicSim $ prop_tryPutMVar x f
49+
monadicIOSim_ $ prop_tryPutMVar x f
5050
, testProperty "prop_modifyMVar_" $ \x f ->
51-
monadicSim $ prop_modifyMVar_ x f
51+
monadicIOSim_ $ prop_modifyMVar_ x f
5252
, testProperty "prop_modifyMVar" $ \x f ->
53-
monadicSim $ prop_modifyMVar x f
53+
monadicIOSim_ $ prop_modifyMVar x f
5454
, testProperty "prop_modifyMVarMasked_" $ \x f ->
55-
monadicSim $ prop_modifyMVarMasked_ x f
55+
monadicIOSim_ $ prop_modifyMVarMasked_ x f
5656
, testProperty "prop_modifyMVarMasked" $ \x f ->
57-
monadicSim $ prop_modifyMVarMasked x f
57+
monadicIOSim_ $ prop_modifyMVarMasked x f
5858
]
5959
]
6060
]

test-strict-mvar/test/Test/Utils.hs

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)