Skip to content

Commit 25dac95

Browse files
aitchkhantargos
authored andcommitted
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 <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent fe9888a commit 25dac95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-timers-immediate-queue.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ for (let i = 0; i < QUEUE; i++)
5050

5151
process.on('exit', function() {
5252
console.log('hit', hit);
53-
assert.strictEqual(hit, QUEUE, 'We ticked between the immediate queue');
53+
assert.strictEqual(hit, QUEUE);
5454
});

0 commit comments

Comments
 (0)