We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1f5179 commit be40fd1Copy full SHA for be40fd1
test/addons-napi/test_make_callback/test.js
@@ -14,7 +14,7 @@ function myMultiArgFunc(arg1, arg2, arg3) {
14
}
15
16
assert.strictEqual(makeCallback(process, common.mustCall(function() {
17
- assert.strictEqual(0, arguments.length);
+ assert.strictEqual(arguments.length, 0);
18
assert.strictEqual(this, process);
19
return 42;
20
})), 42);
0 commit comments