6b44120d53
When the second argument to nodeunit's assert.throws() is a string it is used as the failure message, not for exception message matching. To assert the contents of the exception's message a RegExp must be used. |
||
---|---|---|
.. | ||
corpus | ||
buffer.test.js | ||
child-behaviour.test.js | ||
cli.test.js | ||
ctor.test.js | ||
cycles.test.js | ||
dtrace.test.js | ||
error-event.test.js | ||
log-some.js | ||
log.test.js | ||
other-api.test.js | ||
process-exit.js | ||
process-exit.test.js | ||
raw-stream.test.js | ||
ringbuffer.test.js | ||
serializers.test.js | ||
tap4nodeunit.js |