Skip to content

Commit

Permalink
test: fix arguments order in napi test_exception
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
kanishk30 authored and codebytere committed Jan 29, 2019
1 parent abe9778 commit 644a9d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/addons-napi/test_exception/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const test_exception = (function() {

// Test that the native side successfully captures the exception
let returnedError = test_exception.returnException(throwTheError);
assert.strictEqual(theError, returnedError);
assert.strictEqual(returnedError, theError);

// Test that the native side passes the exception through
assert.throws(
Expand Down

0 comments on commit 644a9d6

Please sign in to comment.