Skip to content

Commit 767d4da

Browse files
epedenTrott
authored andcommittedOct 13, 2018
test: swap assert.strictEqual args to actual, expected
PR-URL: nodejs#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 68b4637 commit 767d4da

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)
Please sign in to comment.