0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/pummel
Rich Trott 35f2f64edd tools: Use throw new Error() consistently
In preparation for a lint rule that will enforce `throw new Error()`
over `throw Error()`, fix the handful of instances in the code that
use `throw Error()`.

PR-URL: https://github.com/nodejs/node/pull/3714
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2015-11-10 21:00:35 -08:00
..
test-abort-fatal-error.js test: use common.isWindows consistently 2015-07-31 00:29:36 +05:30
test-child-process-spawn-loop.js test: use common.isWindows consistently 2015-07-31 00:29:36 +05:30
test-crypto-dh.js test: fix messages and use return to skip tests 2015-08-03 21:32:48 +05:30
test-dh-regr.js test: changing process.exit to return while skipping tests 2015-07-20 15:50:42 +05:30
test-dtrace-jsstack.js test: changing process.exit to return while skipping tests 2015-07-20 15:50:42 +05:30
test-exec.js test: use common.isWindows consistently 2015-07-31 00:29:36 +05:30
test-fs-watch-file-slow.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-fs-watch-file.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-fs-watch-non-recursive.js test: wrap assert.fail when passed to callback 2015-10-24 14:42:41 -07:00
test-http-client-reconnect-bug.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-http-many-keep-alive-connections.js test: don't use arguments.callee 2015-08-04 11:56:14 -07:00
test-http-upload-timeout.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-https-ci-reneg-attack.js test: changing process.exit to return while skipping tests 2015-07-20 15:50:42 +05:30
test-https-large-response.js test: changing process.exit to return while skipping tests 2015-07-20 15:50:42 +05:30
test-https-no-reader.js test: changing process.exit to return while skipping tests 2015-07-20 15:50:42 +05:30
test-keep-alive.js test: fix use of common before required 2015-09-06 21:38:06 +10:00
test-net-connect-econnrefused.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-net-connect-memleak.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-net-many-clients.js test: change calls to deprecated util.print() 2015-09-28 13:21:15 -07:00
test-net-pause.js test: change calls to deprecated util.print() 2015-09-28 13:21:15 -07:00
test-net-pingpong-delay.js test: replace deprecated util.debug() calls 2015-09-28 11:15:06 -07:00
test-net-pingpong.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-net-throttle.js lib,test: fix whitespace issues 2015-06-15 16:37:37 +02:00
test-net-timeout2.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-net-timeout.js test: fix undeclared variable access 2015-06-11 20:22:51 +02:00
test-net-write-callbacks.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-next-tick-infinite-calls.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-process-hrtime.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-process-uptime.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-regress-GH-814_2.js tools: Use throw new Error() consistently 2015-11-10 21:00:35 -08:00
test-regress-GH-814.js tools: Use throw new Error() consistently 2015-11-10 21:00:35 -08:00
test-regress-GH-892.js test: changing process.exit to return while skipping tests 2015-07-20 15:50:42 +05:30
test-stream2-basic.js lib,test: fix whitespace issues 2015-06-15 16:37:37 +02:00
test-stream-pipe-multi.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-timer-wrap2.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-timer-wrap.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-timers.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-tls-ci-reneg-attack.js test: changing process.exit to return while skipping tests 2015-07-20 15:50:42 +05:30
test-tls-connect-memleak.js test: changing process.exit to return while skipping tests 2015-07-20 15:50:42 +05:30
test-tls-securepair-client.js test: changing process.exit to return while skipping tests 2015-07-20 15:50:42 +05:30
test-tls-server-large-request.js test: changing process.exit to return while skipping tests 2015-07-20 15:50:42 +05:30
test-tls-session-timeout.js test: changing process.exit to return while skipping tests 2015-07-20 15:50:42 +05:30
test-tls-throttle.js test: changing process.exit to return while skipping tests 2015-07-20 15:50:42 +05:30
test-vm-memleak.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-watch-file.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
testcfg.py test: refactor to use common testcfg 2014-01-20 09:00:13 -08:00