From 77ce40fa038485ed41790a17a4b173ec5e03745c Mon Sep 17 00:00:00 2001 From: yahavfuchs Date: Sat, 4 Aug 2018 00:22:33 +0300 Subject: [PATCH] test: remove unused argument in assertion PR-URL: https://github.com/nodejs/node/pull/22113 Reviewed-By: Anna Henningsen Reviewed-By: James M Snell Reviewed-By: Rich Trott Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: Jon Moss Reviewed-By: Weijia Wang Reviewed-By: Benjamin Gruenbaum --- test/addons-napi/test_async/test-loop.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/addons-napi/test_async/test-loop.js b/test/addons-napi/test_async/test-loop.js index efd15bcb2d0efd..1b05cbad4a501b 100644 --- a/test/addons-napi/test_async/test-loop.js +++ b/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)); }