mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
test: swap assert.strictEqual args to actual, expected
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
68b46372a7
commit
767d4daeed
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user