Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 562d8fc

Browse filesBrowse files
MarsupMylesBorins
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 <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>
1 parent 0ebded4 commit 562d8fc
Copy full SHA for 562d8fc

File tree

Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Open diff view settings
Filter options
  • test/addons/async-hooks-promise
Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: test/addons/async-hooks-promise/test.js
+1-2Lines changed: 1 addition & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.