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.x
Julian Duque 8 years ago
committed by Anna Henningsen
parent
commit
0c66f68fe2
No known key found for this signature in database GPG Key ID: D8B9F5AEAE84E4CF
  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 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

Loading…
Cancel
Save