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 jasnell committed Oct 17, 2018
1 parent 4291c43 commit 09a6644
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 09a6644

Please sign in to comment.