Skip to content
Browse files

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: #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 <>
  • Loading branch information
aitchkhan authored and trivikr committed Jul 4, 2018
1 parent 0b2ad91 commit 24ee745f209f27bda67757cb7398489f430fd80c
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);

0 comments on commit 24ee745

Please sign in to comment.