Assert Error
Handles a case where a specific error is expected, but the following three things can happen:
- The correct error is produced
- No error is produced
- The wrong error is produced
Assert no Error
Handles a case where a function is run, and no error should be produced.
Assert Error
Handles a case where a specific error is expected, but the following three things can happen:
Assert no Error
Handles a case where a function is run, and no error should be produced.