Skip to content

Commit 3d35930

Browse files
julianduqueaddaleax
authored andcommitted
test: replace equal with strictEqual
Replace assert.equal with assert.strictEqual PR-URL: #9879 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 13cc6a0 commit 3d35930

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ assert.throws(function() {
1919
{
2020
const stdio1 = [];
2121
const result = _validateStdio(stdio1, false);
22-
assert.equal(stdio1.length, 3);
23-
assert.equal(result.hasOwnProperty('stdio'), true);
24-
assert.equal(result.hasOwnProperty('ipc'), true);
25-
assert.equal(result.hasOwnProperty('ipcFd'), true);
22+
assert.strictEqual(stdio1.length, 3);
23+
assert.strictEqual(result.hasOwnProperty('stdio'), true);
24+
assert.strictEqual(result.hasOwnProperty('ipc'), true);
25+
assert.strictEqual(result.hasOwnProperty('ipcFd'), true);
2626
}
2727

2828
// should throw if stdio has ipc and sync is true

0 commit comments

Comments
 (0)