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();