summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHaroon Khan <aitchkhan@gmail.com>2018-06-27 18:51:53 +0500
committerTrivikram Kamat <16024985+trivikr@users.noreply.github.com>2018-07-04 00:55:35 -0700
commit24ee745f209f27bda67757cb7398489f430fd80c (patch)
treebb694dc77e8fc6a597f92b2b4a842e97cea63ad2 /test
parent0b2ad91ad309c4cc047ac2098452b953342beefa (diff)
downloadandroid-node-v8-24ee745f209f27bda67757cb7398489f430fd80c.tar.gz
android-node-v8-24ee745f209f27bda67757cb7398489f430fd80c.tar.bz2
android-node-v8-24ee745f209f27bda67757cb7398489f430fd80c.zip
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: https://github.com/nodejs/node/pull/21584 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/parallel/test-timers-immediate-queue.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-timers-immediate-queue.js b/test/parallel/test-timers-immediate-queue.js
index 511a3adf86..ba9ba87c40 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);
});