Skip to content

Commit 644a9d6

Browse files
kanishk30codebytere
authored andcommitted
test: fix arguments order in napi test_exception
PR-URL: #24413 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Ouyang Yadong <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent abe9778 commit 644a9d6

File tree

1 file changed

+1
-1
lines changed
  • test/addons-napi/test_exception

1 file changed

+1
-1
lines changed

test/addons-napi/test_exception/test.js

+1-1
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)