From 8766d27598192cde71d095b8bebe2151a3ac0360 Mon Sep 17 00:00:00 2001 From: epeden Date: Fri, 12 Oct 2018 09:35:03 -0700 Subject: [PATCH] test: swap assert.strictEqual args to actual, expected PR-URL: https://github.com/nodejs/node/pull/23459 Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil Reviewed-By: James M Snell Reviewed-By: Sakthipriyan Vairamani --- test/parallel/test-cluster-eaccess.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-cluster-eaccess.js b/test/parallel/test-cluster-eaccess.js index c6a2a8ac25e251..346eb26110c12f 100644 --- a/test/parallel/test-cluster-eaccess.js +++ b/test/parallel/test-cluster-eaccess.js @@ -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