Skip to content
Closed
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
Next Next commit
fixup
  • Loading branch information
ronag committed Feb 3, 2021
commit 774665ffa45978cc658c8617ce359eecb926d404
2 changes: 1 addition & 1 deletion test/parallel/test-http-client-abort3.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const assert = require('assert');
const req = http.get('http://[2604:1380:45f1:3f00::1]:4002');

req.on('error', common.mustCall((err) => {
assert.strictEqual(err.code, 'EHOSTUNREACH');
assert(err.code === 'ENETUNREACH' || err.code === 'EHOSTUNREACH');
}));
req.abort();
}
Expand Down