Closed
Description
assert.throws('string', TypeError, 'whatever'); // should fail but doesn't
From here:
assert.throws() calls the first argument as a function. The result is a TypeError when the input is a string but it doesn't seem to check that the exception message matches.
Metadata
Metadata
Assignees
Labels
No labels