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:
Emily Kolar 2018-10-12 11:38:17 -07:00 committed by Ruben Bridgewater
parent 6151040d08
commit febb7656e3
No known key found for this signature in database
GPG Key ID: F07496B3EB3C1762

View File

@ -44,8 +44,8 @@ server.listen(common.PIPE, function() {
function test() {
d.on('error', common.mustCall(function(err) {
assert.strictEqual('should be caught by domain', err.message);
d.on('error', common.mustCall((err) => {
assert.strictEqual(err.message, 'should be caught by domain');
}));
const req = http.get({