mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 15:30:56 +01:00
676e61872f
The assert.fail function signature has the message as the third argument but, understandably, it is often assumed that it is the first argument (or at least the first argument if no other arguments are passed). This corrects the assert.fail() invocations in the Node.js tests. Before: assert.fail('message'); // result: AssertionError: 'message' undefined undefined After: assert.fail(null, null, 'message'); // result: AssertionError: message PR-URL: https://github.com/nodejs/node/pull/3378 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> |
||
---|---|---|
.. | ||
test-dgram-broadcast-multi-process.js | ||
test-dgram-multicast-multi-process.js | ||
test-dgram-send-cb-quelches-error.js | ||
test-dns-ipv4.js | ||
test-dns-ipv6.js | ||
test-dns-txt-sigsegv.js | ||
test-dns.js | ||
test-http-dns-fail.js | ||
test-http-https-default-ports.js | ||
test-net-connect-timeout.js | ||
test-net-connect-unref.js | ||
test-tls-connnect-cnnic.js | ||
test-tls-connnect-melissadata.js | ||
test-tls-reuse-host-from-socket.js | ||
testcfg.py |