0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test
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
..
abort src: honor --abort_on_uncaught_exception flag 2015-09-17 15:25:25 -05:00
addons tools: Use throw new Error() consistently 2015-11-10 21:00:35 -08:00
cctest
debugger test: load common.js in all tests 2015-10-06 15:11:47 -07:00
disabled test: replace deprecated util.debug() calls 2015-09-28 11:15:06 -07:00
fixtures src: wrap source before doing syntax check 2015-10-29 13:08:32 -05:00
gc src: replace usage of v8::Handle with v8::Local 2015-09-06 21:38:05 +10:00
internet test: print helpful err msg on test-dns-ipv6.js 2015-10-25 09:39:02 -07:00
message test: remove flaky status from eval_messages test 2015-10-20 12:16:00 -07:00
parallel tools: Use throw new Error() consistently 2015-11-10 21:00:35 -08:00
pummel tools: Use throw new Error() consistently 2015-11-10 21:00:35 -08:00
sequential test: enhance fs-watch-recursive test 2015-11-10 08:07:41 -08:00
testpy test: fix default value for additional param 2015-09-15 19:59:38 +05:30
timers
.eslintrc test: make common.js mandatory via linting rule 2015-10-06 15:11:58 -07:00
common.js test: wrap assert.fail when passed to callback 2015-10-24 14:42:41 -07:00