diff --git a/test/UtilsSpec.hs b/test/UtilsSpec.hs index a8e193c..8073f1f 100644 --- a/test/UtilsSpec.hs +++ b/test/UtilsSpec.hs @@ -16,7 +16,7 @@ spec = do describe "liftMonadError" $ do it "converts IOErrors to GhcModError" $ do shouldReturnError $ - runD' $ liftMonadError $ throw (userError "hello") >> return "" + runD' $ liftIOExceptions $ throw (userError "hello") >> return "" shouldReturnError $ - runD' $ liftMonadError $ readFile "/DOES_NOT_EXIST" >> return "" + runD' $ liftIOExceptions $ readFile "/DOES_NOT_EXIST" >> return ""