Skip to content

Commit 09a6644

Browse files
epedenjasnell
authored andcommitted
test: swap assert.strictEqual args to actual, expected
PR-URL: #23459 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
1 parent 4291c43 commit 09a6644

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-cluster-eaccess.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ if (cluster.isMaster && process.argv.length !== 3) {
4747
worker.on('message', common.mustCall(function(err) {
4848
// disconnect first, so that we will not leave zombies
4949
worker.disconnect();
50-
assert.strictEqual('EADDRINUSE', err.code);
50+
assert.strictEqual(err.code, 'EADDRINUSE');
5151
}));
5252
} else if (process.argv.length !== 3) {
5353
// cluster.worker

0 commit comments

Comments
 (0)