Skip to content
Myr

Fix typo in a test (#662)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by ehmicky · committed by GitHub · parent 4d8f9ca · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • tests:+2 added−2 removed

1 file+2 added−2 removed

modified:test/stdio/array.js+2 added-2 removed
25 unmodified lines
2627const testNoPipeOption = async (t, stdioOption, streamName) => {28 const childProcess = execa('empty.js', {[streamName]: stdioOption});29 t.is(childProcess[streamName], null);30 await execa;30 await childProcess;31};3233test('stdin can be "ignore"', testNoPipeOption, 'ignore', 'stdin');34test('stdin can be ["ignore"]', testNoPipeOption, ['ignore'], 'stdin');
25 unmodified lines
6061const testNoPipeStdioOption = async (t, stdioOption) => {62 const childProcess = execa('empty.js', {stdio: ['pipe', 'pipe', 'pipe', stdioOption]});63 t.is(childProcess.stdio[3], null);64 await execa;64 await childProcess;65};6667test('stdio[*] can be "ignore"', testNoPipeStdioOption, 'ignore');68test('stdio[*] can be ["ignore"]', testNoPipeStdioOption, ['ignore']);
197 unmodified lines