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); } })); 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