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>
This commit is contained in:
parent
639ddcbe47
commit
318f34543c
@ -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…
x
Reference in New Issue
Block a user