★ wanayoo — archive 1999 https://github.com/nodejs/node/commit/74f1dad613Nouvelle recherche | Portail wanayoo
Skip to content
Permalink
Browse files
test: http-client-timeout error assert arguments
PR-URL: #24130
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
  • Loading branch information
rangle-tadhg authored and MylesBorins committed Dec 26, 2018
1 parent 042749f commit 74f1dad61317d20777f2a01f27d648bca932fc5b
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/parallel/test-http-client-timeout-on-connect.js
@@ -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.