Skip to content

Commit b50a6e6

Browse files
committed
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.
1 parent d6397af commit b50a6e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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)