Skip to content

Commit

Permalink
test: http-client-timeout error assert arguments
Browse files Browse the repository at this point in the history
PR-URL: #24130
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
  • Loading branch information
rangle-tadhg authored and MylesBorins committed Dec 26, 2018
1 parent 042749f commit 74f1dad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-http-client-timeout-on-connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ server.listen(0, common.localhostIPv4, common.mustCall(() => {
}));
req.on('timeout', common.mustCall(() => req.abort()));
req.on('error', common.mustCall((err) => {
assert.strictEqual('socket hang up', err.message);
assert.strictEqual(err.message, 'socket hang up');
server.close();
}));
}));

0 comments on commit 74f1dad

Please sign in to comment.