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 <apapirovski@mac.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
  • 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.