test: fix order of assert args in client response domain test
PR-URL: https://github.com/nodejs/node/pull/23604 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
This commit is contained in:
parent
6151040d08
commit
febb7656e3
@ -44,8 +44,8 @@ server.listen(common.PIPE, function() {
|
|||||||
|
|
||||||
function test() {
|
function test() {
|
||||||
|
|
||||||
d.on('error', common.mustCall(function(err) {
|
d.on('error', common.mustCall((err) => {
|
||||||
assert.strictEqual('should be caught by domain', err.message);
|
assert.strictEqual(err.message, 'should be caught by domain');
|
||||||
}));
|
}));
|
||||||
|
|
||||||
const req = http.get({
|
const req = http.get({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user