Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fiuxp
  • Loading branch information
ronag committed Jul 28, 2021
commit 6b90ae917d1671f42cc6b31c8580a2f265379aa4
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const {
const reader = readableStream.getReader();

assert.rejects(reader.closed, {
code: 'ERR_STREAM_PREMATURE_CLOSE',
code: 'ABORT_ERR',
});

readable.on('end', common.mustNotCall());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class TestWritable extends Writable {
const writableStream = newWritableStreamFromStreamWritable(writable);

assert.rejects(writableStream.close(), {
code: 'ERR_STREAM_PREMATURE_CLOSE'
code: 'ABORT_ERR'
});

writable.end();
Expand Down