Skip to content

Commit

Permalink
test: remove custom message from assertion
Browse files Browse the repository at this point in the history
The custom message means that the values involved are not reported.
Remove the custom message for a more detailed error message.

PR-URL: #16824
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Anatoli Papirovski <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
  • Loading branch information
Marsup authored and MylesBorins committed Nov 16, 2017
1 parent 0ebded4 commit 562d8fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/addons/async-hooks-promise/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 562d8fc

Please sign in to comment.