diff options
author | Julian Duque <julianduquej@gmail.com> | 2016-12-01 09:56:23 -0600 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2016-12-04 15:00:52 -0800 |
commit | 318f34543c0a5bebc91867bf69098026c8834e0f (patch) | |
tree | cb191c11641c89e53b2124b386752bc12c296062 /test/parallel/test-child-process-validate-stdio.js | |
parent | 639ddcbe47a5f5e6bbeaa734d65ae1524130ca2f (diff) | |
download | android-node-v8-318f34543c0a5bebc91867bf69098026c8834e0f.tar.gz android-node-v8-318f34543c0a5bebc91867bf69098026c8834e0f.tar.bz2 android-node-v8-318f34543c0a5bebc91867bf69098026c8834e0f.zip |
test: replace equal with strictEqual
Replace assert.equal with assert.strictEqual
PR-URL: https://github.com/nodejs/node/pull/9879
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/parallel/test-child-process-validate-stdio.js')
-rw-r--r-- | test/parallel/test-child-process-validate-stdio.js | 8 |
1 files 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 09d0004674..384efdf15a 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 |