0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 15:30:56 +01:00
nodejs/test/internet
Rich Trott 676e61872f test: apply correct assert.fail() arguments
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>
2015-10-16 00:31:04 -07:00
..
test-dgram-broadcast-multi-process.js test: increase dgram timeout for armv6 2015-09-12 20:31:25 +02:00
test-dgram-multicast-multi-process.js test: increase dgram timeout for armv6 2015-09-12 20:31:25 +02:00
test-dgram-send-cb-quelches-error.js test: apply correct assert.fail() arguments 2015-10-16 00:31:04 -07:00
test-dns-ipv4.js test: split up internet dns tests 2015-09-12 13:52:04 -07:00
test-dns-ipv6.js test: split up internet dns tests 2015-09-12 13:52:04 -07:00
test-dns-txt-sigsegv.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-dns.js test: split up internet dns tests 2015-09-12 13:52:04 -07:00
test-http-dns-fail.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-http-https-default-ports.js test: changing process.exit to return while skipping tests 2015-07-20 15:50:42 +05:30
test-net-connect-timeout.js test: use reserved IP in test-net-connect-timeout 2015-08-23 14:30:01 -07:00
test-net-connect-unref.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-tls-connnect-cnnic.js test: changing process.exit to return while skipping tests 2015-07-20 15:50:42 +05:30
test-tls-connnect-melissadata.js test: changing process.exit to return while skipping tests 2015-07-20 15:50:42 +05:30
test-tls-reuse-host-from-socket.js test: changing process.exit to return while skipping tests 2015-07-20 15:50:42 +05:30
testcfg.py test: refactor to use common testcfg 2014-01-20 09:00:13 -08:00