From 0c66f68fe2c6f0b57aa477cc8d34ffaaf492bde1 Mon Sep 17 00:00:00 2001 From: Julian Duque Date: Thu, 1 Dec 2016 09:56:23 -0600 Subject: [PATCH] test: replace equal with strictEqual MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace assert.equal with assert.strictEqual PR-URL: https://github.com/nodejs/node/pull/9879 Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: Michaƫl Zasso Reviewed-By: James M Snell --- test/parallel/test-child-process-validate-stdio.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/parallel/test-child-process-validate-stdio.js b/test/parallel/test-child-process-validate-stdio.js index 09d000467404b6..384efdf15a1425 100644 --- a/test/parallel/test-child-process-validate-stdio.js +++ b/test/parallel/test-child-process-validate-stdio.js @@ -19,10 +19,10 @@ assert.throws(function() { { const stdio1 = []; const result = _validateStdio(stdio1, false); - assert.equal(stdio1.length, 3); - assert.equal(result.hasOwnProperty('stdio'), true); - assert.equal(result.hasOwnProperty('ipc'), true); - assert.equal(result.hasOwnProperty('ipcFd'), true); + assert.strictEqual(stdio1.length, 3); + assert.strictEqual(result.hasOwnProperty('stdio'), true); + assert.strictEqual(result.hasOwnProperty('ipc'), true); + assert.strictEqual(result.hasOwnProperty('ipcFd'), true); } // should throw if stdio has ipc and sync is true