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 644a9d6

Browse filesBrowse files
kanishk30codebytere
authored andcommitted
test: fix arguments order in napi test_exception
PR-URL: #24413 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ouyang Yadong <oyydoibh@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent abe9778 commit 644a9d6
Copy full SHA for 644a9d6

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
  • test/addons-napi/test_exception
Expand file treeCollapse file tree

1 file changed

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

‎test/addons-napi/test_exception/test.js‎

Copy file name to clipboardExpand all lines: test/addons-napi/test_exception/test.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const test_exception = (function() {
2626

2727
// Test that the native side successfully captures the exception
2828
let returnedError = test_exception.returnException(throwTheError);
29-
assert.strictEqual(theError, returnedError);
29+
assert.strictEqual(returnedError, theError);
3030

3131
// Test that the native side passes the exception through
3232
assert.throws(

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.