Skip to content

Commit

Permalink
test: removing unnecessary parameter from assert call
Browse files Browse the repository at this point in the history
Removed unnecessary parameter from assert call in
test/parallel/test-stream2-basic.js.

Fixes: #21305

PR-URL: #21307
Reviewed-By: Anatoli Papirovski <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Ujjwal Sharma <[email protected]>
  • Loading branch information
djmgit authored and targos committed Jun 14, 2018
1 parent 740d9f1 commit 0b00172
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-stream2-basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit 0b00172

Please sign in to comment.