packages feed

purescript-0.15.0: tests/purs/passing/4179/CustomAssert.purs

module CustomAssert (assertThrows) where

import Prelude

import Effect (Effect)

assertThrows :: forall a. (Unit -> a) -> Effect String
assertThrows = assertThrowsImpl unit

foreign import assertThrowsImpl :: forall a b. a -> (a -> b) -> Effect String