Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
killagu committed Jul 5, 2022
1 parent 4004884 commit c1fb625
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/urllib.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +411,7 @@ describe('test/urllib.test.js', function () {
it('should handle server socket end("balabal") will error', function (done) {
urllib.request(host + '/socket.end.error', function (err, data) {
assert(err);
assert(err.code === 'ECONNRESET');
assert(err.data);
err.code && assert(err.code === 'ECONNRESET');
assert(data);
done();
});
Expand Down

0 comments on commit c1fb625

Please sign in to comment.