Skip to content

Commit

Permalink
test: fix args passed to strictEqual
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
aitchkhan committed Jun 29, 2018
1 parent d6397af commit b50a6e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-timers-immediate-queue.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 b50a6e6

Please sign in to comment.