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 <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 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.