Skip to content
Permalink
Browse files

test: fix order of assert args in client response domain test

PR-URL: #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>
  • Loading branch information...
sheminusminus authored and MylesBorins committed Oct 12, 2018
1 parent ede9ce1 commit 591af98268888e11779c393cf136cc09eeb967a2
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/parallel/test-http-client-response-domain.js
@@ -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({

0 comments on commit 591af98

Please sign in to comment.
You can’t perform that action at this time.