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 codebytere committed Dec 13, 2018
1 parent 2ff9143 commit c85c2ce
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 c85c2ce

Please sign in to comment.