diff --git a/test/parallel/test-child-process-stdio.js b/test/parallel/test-child-process-stdio.js index d5fe6d43b64d5c..2daa7483714dc5 100644 --- a/test/parallel/test-child-process-stdio.js +++ b/test/parallel/test-child-process-stdio.js @@ -16,4 +16,8 @@ assert.equal(child.stderr, null); options = {stdio: 'ignore'}; child = common.spawnSyncCat(options); -assert.deepEqual(options, {stdio: 'ignore'}); +assert.deepStrictEqual(options, {stdio: 'ignore'}); + +assert.throws(() => { + common.spawnPwd({stdio: ['pipe', 'pipe', 'pipe', 'ipc', 'ipc']}); +}, /^Error: Child process can have only one IPC pipe$/);