From e71523433a8ffab2c350cb383bbdb46cc7b1a947 Mon Sep 17 00:00:00 2001 From: Segu Riluvan Date: Thu, 1 Dec 2016 11:30:01 -0600 Subject: [PATCH 1/2] test: fix test-child-process-stdin.js 37:5 error please use assert.strictEqual() instead of assert.equal() 39:5 error please use assert.strictEqual() instead of assert.equal() --- test/parallel/test-child-process-stdin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-child-process-stdin.js b/test/parallel/test-child-process-stdin.js index 95be2d4c8a12b2..c90716e2feaa89 100644 --- a/test/parallel/test-child-process-stdin.js +++ b/test/parallel/test-child-process-stdin.js @@ -34,8 +34,8 @@ cat.on('exit', common.mustCall(function(status) { cat.on('close', common.mustCall(function() { if (common.isWindows) { - assert.equal('hello world\r\n', response); + assert.strictEqual('hello world\r\n', response); } else { - assert.equal('hello world', response); + assert.strictEqual('hello world', response); } })); From 21ab8129926d9aac72fe0944ad258178da477cf3 Mon Sep 17 00:00:00 2001 From: Segu Riluvan Date: Thu, 1 Dec 2016 11:53:59 -0600 Subject: [PATCH 2/2] test: fixed assert.strictEqual test/parallel/test-cluster-net-listen.js 10.5 error Please use assert.strictEqual() instead of assert.equal() --- 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 829d1806d52889..42c13f388f6d30 100644 --- a/test/parallel/test-cluster-net-listen.js +++ b/test/parallel/test-cluster-net-listen.js @@ -7,7 +7,7 @@ var 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