Browse Source

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>
v6
Julian Duque 8 years ago
committed by James M Snell
parent
commit
318f34543c
  1. 8
      test/parallel/test-child-process-validate-stdio.js

8
test/parallel/test-child-process-validate-stdio.js

@ -19,10 +19,10 @@ assert.throws(function() {
{ {
const stdio1 = []; const stdio1 = [];
const result = _validateStdio(stdio1, false); const result = _validateStdio(stdio1, false);
assert.equal(stdio1.length, 3); assert.strictEqual(stdio1.length, 3);
assert.equal(result.hasOwnProperty('stdio'), true); assert.strictEqual(result.hasOwnProperty('stdio'), true);
assert.equal(result.hasOwnProperty('ipc'), true); assert.strictEqual(result.hasOwnProperty('ipc'), true);
assert.equal(result.hasOwnProperty('ipcFd'), true); assert.strictEqual(result.hasOwnProperty('ipcFd'), true);
} }
// should throw if stdio has ipc and sync is true // should throw if stdio has ipc and sync is true

Loading…
Cancel
Save