Skip to content

Commit

Permalink
test: fix assert equal order of arguments
Browse files Browse the repository at this point in the history
PR-URL: #23602
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
  • Loading branch information
David Jiang authored and MylesBorins committed Oct 30, 2018
1 parent dd91c1d commit 8d39cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-net-connect-handle-econnrefused.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ server.close(common.mustCall(() => {
const c = net.createConnection(port);
c.on('connect', common.mustNotCall());
c.on('error', common.mustCall((e) => {
assert.strictEqual('ECONNREFUSED', e.code);
assert.strictEqual(e.code, 'ECONNREFUSED');
}));
}));

0 comments on commit 8d39cf6

Please sign in to comment.