diff --git a/test/parallel/test-child-process-stdin.js b/test/parallel/test-child-process-stdin.js index 95be2d4c8a12b2..eccced0c32d7be 100644 --- a/test/parallel/test-child-process-stdin.js +++ b/test/parallel/test-child-process-stdin.js @@ -9,8 +9,8 @@ cat.stdin.write('hello'); cat.stdin.write(' '); cat.stdin.write('world'); -assert.ok(cat.stdin.writable); -assert.ok(!cat.stdin.readable); +assert.strictEqual(true, cat.stdin.writable); +assert.strictEqual(false, cat.stdin.readable); cat.stdin.end(); @@ -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); } }));