From ed254a08f8966422cca11e1f42f3983ca4ef4d09 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 --- 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]);