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: nodejs#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 kiyomizumia committed Nov 15, 2018
1 parent 4e44b41 commit a2db1d0
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 a2db1d0

Please sign in to comment.