Skip to content

Commit

Permalink
test: swap assert.strictEqual args to actual, expected
Browse files Browse the repository at this point in the history
PR-URL: #23459
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
  • Loading branch information
epeden authored and rvagg committed Nov 28, 2018
1 parent 5b281bd commit 5d25060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-cluster-eaccess.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ if (cluster.isMaster && process.argv.length !== 3) {
worker.on('message', common.mustCall(function(err) {
// disconnect first, so that we will not leave zombies
worker.disconnect();
assert.strictEqual('EADDRINUSE', err.code);
assert.strictEqual(err.code, 'EADDRINUSE');
}));
} else if (process.argv.length !== 3) {
// cluster.worker
Expand Down

0 comments on commit 5d25060

Please sign in to comment.