diff options
author | Rich Trott <rtrott@gmail.com> | 2017-02-14 10:35:27 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2017-02-17 21:58:11 -0800 |
commit | 749fac0bf60f470c25c5421d4fe659d0efd982af (patch) | |
tree | 03c57516cb075f71761a71add6a1c32cf3244dce /test/parallel/test-http-request-invalid-method-error.js | |
parent | 32679c73c11c618d027095d96b00f2a77b243d4d (diff) | |
download | android-node-v8-749fac0bf60f470c25c5421d4fe659d0efd982af.tar.gz android-node-v8-749fac0bf60f470c25c5421d4fe659d0efd982af.tar.bz2 android-node-v8-749fac0bf60f470c25c5421d4fe659d0efd982af.zip |
test: refactor common.expectsError()
* Report values in assertions.
* Strict equality match if message is a string.
* instanceof/typeof instead of deprecated util.isRegExp()
PR-URL: https://github.com/nodejs/node/pull/11381
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'test/parallel/test-http-request-invalid-method-error.js')
0 files changed, 0 insertions, 0 deletions