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 <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>
This commit is contained in:
parent
7b46e177ba
commit
9310f86cb3
@ -212,10 +212,10 @@ class TestWriter extends EE {
|
|||||||
'xxxxx' ];
|
'xxxxx' ];
|
||||||
|
|
||||||
w[0].on('end', common.mustCall(function(received) {
|
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) {
|
w[1].on('end', common.mustCall(function(received) {
|
||||||
assert.deepStrictEqual(received, expect, 'second');
|
assert.deepStrictEqual(received, expect);
|
||||||
}));
|
}));
|
||||||
|
|
||||||
r.pipe(w[0]);
|
r.pipe(w[0]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user