From af351278ce9b8507978f2bdc30de3a46cfed6b28 Mon Sep 17 00:00:00 2001 From: matzavinos Date: Mon, 19 Sep 2016 17:18:23 +0300 Subject: [PATCH] test: update test/parallel/test-child-process-stdio.js Refs: nodejs/code-and-learn#56(comment) Replace the equal assetion with strictEqual. Replace the notEqual assertion with strictNotEqual. PR-URL: https://github.com/nodejs/node/pull/8584 Reviewed-By: James M Snell Reviewed-By: Anna Henningsen Reviewed-By: Robert Jefe Lindstaedt --- test/parallel/test-child-process-stdio.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/parallel/test-child-process-stdio.js b/test/parallel/test-child-process-stdio.js index e24987ca6418d0..3c67b3c3fe37a0 100644 --- a/test/parallel/test-child-process-stdio.js +++ b/test/parallel/test-child-process-stdio.js @@ -5,14 +5,14 @@ const assert = require('assert'); let options = {stdio: ['pipe']}; let child = common.spawnPwd(options); -assert.notEqual(child.stdout, null); -assert.notEqual(child.stderr, null); +assert.notStrictEqual(child.stdout, null); +assert.notStrictEqual(child.stderr, null); options = {stdio: 'ignore'}; child = common.spawnPwd(options); -assert.equal(child.stdout, null); -assert.equal(child.stderr, null); +assert.strictEqual(child.stdout, null); +assert.strictEqual(child.stderr, null); options = {stdio: 'ignore'}; child = common.spawnSyncCat(options);