Skip to content

Commit

Permalink
Fixes: test: fixed the arguments order in nodejs#24227
Browse files Browse the repository at this point in the history
  • Loading branch information
kanishk30 committed Nov 17, 2018
1 parent 8cdb92f commit fa38efa
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 fa38efa

Please sign in to comment.