Skip to content

Commit

Permalink
test: fix order in assert.strictEqual to actual, expected
Browse files Browse the repository at this point in the history
PR-URL: #24184
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
  • Loading branch information
Kevin Seidel authored and BridgeAR committed Nov 13, 2018
1 parent a1f5179 commit be40fd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/addons-napi/test_make_callback/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function myMultiArgFunc(arg1, arg2, arg3) {
}

assert.strictEqual(makeCallback(process, common.mustCall(function() {
assert.strictEqual(0, arguments.length);
assert.strictEqual(arguments.length, 0);
assert.strictEqual(this, process);
return 42;
})), 42);
Expand Down

0 comments on commit be40fd1

Please sign in to comment.