From 4cf11d9f4a9e96885eb4a07e0c0c924c9177beb6 Mon Sep 17 00:00:00 2001 From: Segu Riluvan Date: Thu, 1 Dec 2016 11:53:59 -0600 Subject: [PATCH] test: refactor test-cluster-net-listen 10.5 error Please use assert.strictEqual() instead of assert.equal() PR-URL: https://github.com/nodejs/node/pull/10047 Reviewed-By: James M Snell --- test/parallel/test-cluster-net-listen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-cluster-net-listen.js b/test/parallel/test-cluster-net-listen.js index f302b3def8bcef..d065c466f26621 100644 --- a/test/parallel/test-cluster-net-listen.js +++ b/test/parallel/test-cluster-net-listen.js @@ -7,7 +7,7 @@ const net = require('net'); if (cluster.isMaster) { // ensure that the worker exits peacefully cluster.fork().on('exit', common.mustCall(function(statusCode) { - assert.equal(statusCode, 0); + assert.strictEqual(statusCode, 0); })); } else { // listen() without port should not trigger a libuv assert