You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
In the documentation, assert.doesNotThrow takes two arguments: (block, [message]), but calling
assert.doesNotThrow(function(){// some code throwing an error},"Error occured");
won't display the "Error occured" message, but the thrown error instead. I've inspected the assert.js file, and the problem is probably caused by line 304:
In the documentation,
assert.doesNotThrow
takes two arguments:(block, [message])
, but callingwon't display the "Error occured" message, but the thrown error instead. I've inspected the
assert.js
file, and the problem is probably caused by line 304:expectedException
will always returnfalse
, becauseexpected
is always set tonull
The text was updated successfully, but these errors were encountered: