Tuesday, 21 January 2020

Assert an Error Was Returned

Is there a way to use an assert library/statement to ensure that an error was NOT returned by a function call?The only thing I can find is assert.throws() which detects if a specific function throws an error.Thanks!

Submitted January 21, 2020 at 03:08PM by the_night_question

No comments:

Post a Comment