Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Aug 9, 2019
1 parent 41c8670 commit 8896f4e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,7 @@ test('buffer: false > promise rejects when process returns non-zero', async t =>

const BUFFER_TIMEOUT = 1e3;

// On Unix, a process won't exit if one of its stdout has not been read.
// On Windows, it exits anyway.
// On Unix (not Windows), a process won't exit if stdout has not been read.
if (process.platform !== 'win32') {
test.serial('buffer: false > promise does not resolve when output is big and is not read', async t => {
const {timedOut} = await t.throwsAsync(execa('max-buffer', {buffer: false, timeout: BUFFER_TIMEOUT}));
Expand Down

0 comments on commit 8896f4e

Please sign in to comment.