diff options
author | Saud Khanzada <muhammad.saud@tenpearls.com> | 2018-09-04 20:04:19 +0500 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2018-09-08 11:59:06 -0700 |
commit | 9782ce25750f2a34297e61a975c3a69a05b5d649 (patch) | |
tree | ac5edccb5be2185e24c93b37feffdd3ac42918b6 /doc/api/deprecations.md | |
parent | 8737683ba09252d6fe6b29df7ffcc818cd5cfb2b (diff) | |
download | android-node-v8-9782ce25750f2a34297e61a975c3a69a05b5d649.tar.gz android-node-v8-9782ce25750f2a34297e61a975c3a69a05b5d649.tar.bz2 android-node-v8-9782ce25750f2a34297e61a975c3a69a05b5d649.zip |
test: replaces assert.throws() with common.expectsError()
replaces assert.throws() with common.expectsError() to check error code
and error type in parallel/test-buffer-alloc.js
PR-URL: https://github.com/nodejs/node/pull/22689
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'doc/api/deprecations.md')
0 files changed, 0 insertions, 0 deletions