Skip to content

Commit 2e0d3c9

Browse files
Kevin SeidelMylesBorins
Kevin Seidel
authored andcommitted
test: fix order in assert.strictEqual to actual, expected
PR-URL: #24184 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]>
1 parent b63e9cb commit 2e0d3c9

File tree

1 file changed

+1
-1
lines changed
  • test/addons-napi/test_make_callback

1 file changed

+1
-1
lines changed

test/addons-napi/test_make_callback/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function myMultiArgFunc(arg1, arg2, arg3) {
1414
}
1515

1616
assert.strictEqual(makeCallback(process, common.mustCall(function() {
17-
assert.strictEqual(0, arguments.length);
17+
assert.strictEqual(arguments.length, 0);
1818
assert.strictEqual(this, process);
1919
return 42;
2020
})), 42);

0 commit comments

Comments
 (0)