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: nodejs#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 kiyomizumia committed Nov 15, 2018
1 parent 0d6fda5 commit 2951448
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 2951448

Please sign in to comment.