From 0b00172df82f7b4b097f160be02aae871e0a7dce Mon Sep 17 00:00:00 2001 From: djmgit Date: Wed, 13 Jun 2018 12:45:42 +0530 Subject: [PATCH] test: removing unnecessary parameter from assert call Removed unnecessary parameter from assert call in test/parallel/test-stream2-basic.js. Fixes: https://github.com/nodejs/node/issues/21305 PR-URL: https://github.com/nodejs/node/pull/21307 Reviewed-By: Anatoli Papirovski Reviewed-By: Colin Ihrig Reviewed-By: Trivikram Kamat Reviewed-By: Luigi Pinca Reviewed-By: Ujjwal Sharma --- test/parallel/test-stream2-basic.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-stream2-basic.js b/test/parallel/test-stream2-basic.js index 0694adb5c5905e..0083077fc2d649 100644 --- a/test/parallel/test-stream2-basic.js +++ b/test/parallel/test-stream2-basic.js @@ -212,10 +212,10 @@ class TestWriter extends EE { 'xxxxx' ]; w[0].on('end', common.mustCall(function(received) { - assert.deepStrictEqual(received, expect, 'first'); + assert.deepStrictEqual(received, expect); })); w[1].on('end', common.mustCall(function(received) { - assert.deepStrictEqual(received, expect, 'second'); + assert.deepStrictEqual(received, expect); })); r.pipe(w[0]);