Skip to content

Commit

Permalink
Remove unused 3rd argument in assert.strictEqual()
Browse files Browse the repository at this point in the history
  • Loading branch information
yahavf6 committed Aug 3, 2018
1 parent 3ffd689 commit c188ca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/addons-napi/test_async/test-loop.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const iterations = 500;

let x = 0;
const workDone = common.mustCall((status) => {
assert.strictEqual(status, 0, 'Work completed successfully');
assert.strictEqual(status, 0);
if (++x < iterations) {
setImmediate(() => test_async.DoRepeatedWork(workDone));
}
Expand Down

0 comments on commit c188ca0

Please sign in to comment.