Skip to content

Commit

Permalink
test: remove unused argument in assertion
Browse files Browse the repository at this point in the history
PR-URL: #22113
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Jon Moss <[email protected]>
Reviewed-By: Weijia Wang <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
  • Loading branch information
yahavf6 authored and rvagg committed Aug 15, 2018
1 parent 4b0d2de commit 77ce40f
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 77ce40f

Please sign in to comment.