Module

Test.Spec.Assertions

#fail

fail :: forall m. MonadThrow Error m => String -> m Unit

#shouldEqual

shouldEqual :: forall m t. MonadThrow Error m => Show t => Eq t => t -> t -> m Unit

#shouldNotEqual

shouldNotEqual :: forall m t. MonadThrow Error m => Show t => Eq t => t -> t -> m Unit

#shouldContain

shouldContain :: forall m f a. MonadThrow Error m => Show a => Eq a => Show (f a) => Foldable f => f a -> a -> m Unit

#shouldNotContain

shouldNotContain :: forall m f a. MonadThrow Error m => Show a => Eq a => Show (f a) => Foldable f => f a -> a -> m Unit

#shouldNotSatisfy

shouldNotSatisfy :: forall m t. MonadThrow Error m => Show t => t -> (t -> Boolean) -> m Unit

#shouldSatisfy

shouldSatisfy :: forall m t. MonadThrow Error m => Show t => t -> (t -> Boolean) -> m Unit

#expectError

expectError :: forall m t. MonadError Error m => m t -> m Unit

#shouldReturn

shouldReturn :: forall m t. MonadThrow Error m => Eq t => Show t => m t -> t -> m Unit

Asserts that m t returns t

#shouldNotReturn

shouldNotReturn :: forall m t. MonadThrow Error m => Eq t => Show t => m t -> t -> m Unit

Asserts that m t does not return t

Modules