Skip to content
Closed
Changes from all commits
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
5 changes: 3 additions & 2 deletions test/parallel/test-http-destroyed-socket-write2.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,13 @@ server.listen(0, function() {
break;

default:
// Write to a torn down client should RESET or ABORT
assert.strictEqual(er.code,
'ECONNRESET',
'Write to a torn down client should RESET or ABORT');
'ECONNRESET');
break;
}


assert.strictEqual(req.output.length, 0);
assert.strictEqual(req.outputEncodings.length, 0);
server.close();
Expand Down