Module
Test.Unit.Assert
- Package
- purescript-test-unit
- Repository
- bodil/purescript-test-unit
#assertFalse Source
assertFalse :: String -> Boolean -> Test
The reverse of assert
: given a failure reason and a boolean, either
succeed if the boolean is false, or fail if the boolean is true.
#expectFailure Source
expectFailure :: String -> Test -> Test
Expect a test to fail. Given a reason and a test, fail with the given reason if the test succeeds, and succeed if it fails.