Skip to content

Commit

Permalink
Update test/parallel/test-stream-pipe-unpipe-streams.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lpinca authored and aduh95 committed May 6, 2024
1 parent bf7c3f7 commit 491e86c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-stream-pipe-unpipe-streams.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ assert.strictEqual(source._readableState.pipes.length, 0);
}

{
const src = Readable({ read: () => { } });
const dst = Writable({ write: () => { } });
const src = Readable({ read: () => {} });
const dst = Writable({ write: () => {} });
src.pipe(dst);
src.on('resume', common.mustCall(() => {
src.on('pause', common.mustCall());
Expand Down

0 comments on commit 491e86c

Please sign in to comment.