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 <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
  • Loading branch information
Kevin Seidel authored and MylesBorins committed Dec 26, 2018
1 parent b63e9cb commit 2e0d3c9
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 2e0d3c9

Please sign in to comment.