Skip to content

Commit e345897

Browse files
David Jiangjasnell
David Jiang
authored andcommitted
test: fix assert equal order of arguments
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]>
1 parent fd7fc99 commit e345897

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/parallel/test-net-connect-handle-econnrefused.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ server.close(common.mustCall(() => {
3131
const c = net.createConnection(port);
3232
c.on('connect', common.mustNotCall());
3333
c.on('error', common.mustCall((e) => {
34-
assert.strictEqual('ECONNREFUSED', e.code);
34+
assert.strictEqual(e.code, 'ECONNREFUSED');
3535
}));
3636
}));

0 commit comments

Comments
 (0)