From 2054c66e7773e54a2f5a0844322b5e5752b6cff3 Mon Sep 17 00:00:00 2001 From: Nicolas Morel Date: Mon, 6 Nov 2017 16:37:55 +0100 Subject: [PATCH] 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 Reviewed-By: Anatoli Papirovski Reviewed-By: Gireesh Punathil Reviewed-By: Rich Trott --- test/addons/async-hooks-promise/test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/addons/async-hooks-promise/test.js b/test/addons/async-hooks-promise/test.js index 81389378b0701e..a6c48e94a34f07 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();