Skip to content

Commit 527ddda

Browse files
Marsupcjihrig
authored andcommitted
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: #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]>
1 parent a85d6e9 commit 527ddda

File tree

1 file changed

+1
-2
lines changed
  • test/addons/async-hooks-promise

1 file changed

+1
-2
lines changed

test/addons/async-hooks-promise/test.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ const hook1 = async_hooks.createHook({
3434
// Check that the internal field returns the same PromiseWrap passed to init().
3535
assert.strictEqual(
3636
binding.getPromiseField(Promise.resolve(1)),
37-
pwrap,
38-
'Unexpected PromiseWrap');
37+
pwrap);
3938

4039
hook1.disable();
4140

0 commit comments

Comments
 (0)