From 25dac9516453cba3ba492abd301394ec4024f300 Mon Sep 17 00:00:00 2001 From: Haroon Khan Date: Wed, 27 Jun 2018 18:51:53 +0500 Subject: [PATCH] test: fix args passed to strictEqual The third argument passed to asert.strictEqual() displays the message passed as third argument and does not report the difference between actual and expected if the test is failing. Hence, the third argument has been removed. PR-URL: https://github.com/nodejs/node/pull/21584 Reviewed-By: Rich Trott Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: James M Snell Reviewed-By: Trivikram Kamat --- test/parallel/test-timers-immediate-queue.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-timers-immediate-queue.js b/test/parallel/test-timers-immediate-queue.js index 511a3adf864859..ba9ba87c4070bd 100644 --- a/test/parallel/test-timers-immediate-queue.js +++ b/test/parallel/test-timers-immediate-queue.js @@ -50,5 +50,5 @@ for (let i = 0; i < QUEUE; i++) process.on('exit', function() { console.log('hit', hit); - assert.strictEqual(hit, QUEUE, 'We ticked between the immediate queue'); + assert.strictEqual(hit, QUEUE); });