diff options
author | Nicolas Morel <nicolas@morel.io> | 2017-11-06 16:37:55 +0100 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2017-11-07 09:50:54 +0000 |
commit | 2054c66e7773e54a2f5a0844322b5e5752b6cff3 (patch) | |
tree | ed4e0bc10c2516797671db34a820a70dac45d998 /test/addons | |
parent | 09c152e9b40ea9809c455073e1e615e4af5e1d63 (diff) | |
download | android-node-v8-2054c66e7773e54a2f5a0844322b5e5752b6cff3.tar.gz android-node-v8-2054c66e7773e54a2f5a0844322b5e5752b6cff3.tar.bz2 android-node-v8-2054c66e7773e54a2f5a0844322b5e5752b6cff3.zip |
test: remove custom message from assertion
The custom message means that the values involved are not reported.
Remove the custom message for a more detailed error message.
PR-URL: https://github.com/nodejs/node/pull/16824
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'test/addons')
-rw-r--r-- | test/addons/async-hooks-promise/test.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/addons/async-hooks-promise/test.js b/test/addons/async-hooks-promise/test.js index 81389378b0..a6c48e94a3 100644 --- a/test/addons/async-hooks-promise/test.js +++ b/test/addons/async-hooks-promise/test.js @@ -34,8 +34,7 @@ const hook1 = async_hooks.createHook({ // Check that the internal field returns the same PromiseWrap passed to init(). assert.strictEqual( binding.getPromiseField(Promise.resolve(1)), - pwrap, - 'Unexpected PromiseWrap'); + pwrap); hook1.disable(); |