Module
Test.Spec.Assertions
- Package
- purescript-spec
- Repository
- purescript-spec/purescript-spec
#shouldEqual Source
shouldEqual :: forall t m. MonadThrow Error m => Show t => Eq t => t -> t -> m Unit
#shouldNotEqual Source
shouldNotEqual :: forall t m. MonadThrow Error m => Show t => Eq t => t -> t -> m Unit
#shouldContain Source
shouldContain :: forall a f m. MonadThrow Error m => Show a => Eq a => Show (f a) => Foldable f => f a -> a -> m Unit
#shouldNotContain Source
shouldNotContain :: forall a f m. MonadThrow Error m => Show a => Eq a => Show (f a) => Foldable f => f a -> a -> m Unit
#shouldNotSatisfy Source
shouldNotSatisfy :: forall t m. MonadThrow Error m => Show t => t -> (t -> Boolean) -> m Unit
#shouldSatisfy Source
shouldSatisfy :: forall t m. MonadThrow Error m => Show t => t -> (t -> Boolean) -> m Unit
#expectError Source
expectError :: forall t m. MonadError Error m => m t -> m Unit
#shouldReturn Source
shouldReturn :: forall t m. MonadThrow Error m => Eq t => Show t => m t -> t -> m Unit
Asserts that m t
returns t
#shouldNotReturn Source
shouldNotReturn :: forall t m. MonadThrow Error m => Eq t => Show t => m t -> t -> m Unit
Asserts that m t
does not return t
- Modules
- Test.
Spec - Test.
Spec. Assertions - Test.
Spec. Assertions. String - Test.
Spec. Console - Test.
Spec. Reporter - Test.
Spec. Reporter. Base - Test.
Spec. Reporter. Console - Test.
Spec. Reporter. Dot - Test.
Spec. Reporter. Spec - Test.
Spec. Reporter. Tap - Test.
Spec. Result - Test.
Spec. Runner - Test.
Spec. Runner. Event - Test.
Spec. Speed - Test.
Spec. Style - Test.
Spec. Summary - Test.
Spec. Tree