Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
ronag committed Oct 29, 2021
1 parent 088af2a commit aea84c2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions test/parallel/test-stream-pipeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -1463,12 +1463,7 @@ const tsp = require('timers/promises');

const stream = await pipelinePromise(read, duplex);

let ret = ''
for await (const x of stream) {
ret += x;
}

assert.strictEqual(ret, 'data');
assert.strictEqual(await stream.text(), 'data');
}

run();
Expand Down

0 comments on commit aea84c2

Please sign in to comment.