From b50a6e6e8248346bbc8a16705049a42f0a0c5e06 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. --- 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); });