Skip to content

Commit

Permalink
Simplify signature
Browse files Browse the repository at this point in the history
  • Loading branch information
jphmrst committed Sep 26, 2023
1 parent 6ef40b1 commit 3de71f4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Test/TLT/Class.hs
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,7 @@ inGroup name group = do
-- | Call prior to a series of TLT tests to detect general errors.
-- Requires that the underlying computation be `MonadIO`.
withIOErrorsByTLT ::
(MonadTLT m n, MonadIO m, MonadIO n) =>
(n [TestFail] -> IO [TestFail]) -> m ()
(MonadTLT m n, MonadIO n) => (n [TestFail] -> IO [TestFail]) -> m ()
withIOErrorsByTLT runner = liftTLT $ TLT $ do
state <- get
put $ state { tltInterceptor = interceptExceptions runner }
Expand Down

0 comments on commit 3de71f4

Please sign in to comment.