Skip to content
Permalink
Browse files

test: remove unused argument in assertion

PR-URL: #22113
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Weijia Wang <starkwang@126.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
  • Loading branch information...
yahavf6 authored and Trott committed Aug 3, 2018
1 parent 493e6d4 commit 1284fa20094310bb859fd60f95c259c77d8277ae
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/addons-napi/test_async/test-loop.js
@@ -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));
}

0 comments on commit 1284fa2

Please sign in to comment.
You can’t perform that action at this time.