(t, fdNumber)
| 66 | }; |
| 67 | |
| 68 | const testOverflowStreamArraySync = (t, fdNumber) => { |
| 69 | t.throws(() => { |
| 70 | execaSync('noop-fd.js', [fdNumber, foobarString], getStdio(fdNumber, [4, 'pipe'])); |
| 71 | }, {code: getInvalidFdCode()}); |
| 72 | }; |
| 73 | |
| 74 | test('stdout cannot use 4+ and another value, sync', testOverflowStreamArraySync, 1); |
| 75 | test('stderr cannot use 4+ and another value, sync', testOverflowStreamArraySync, 2); |
nothing calls this directly
no test coverage detected