Skip to content

Commit

Permalink
Fix function arrow style
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed May 14, 2019
1 parent 04d5ba0 commit dc71a28
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test.js
Expand Up @@ -204,7 +204,9 @@ test('opts.stdout:ignore - stdout will not collect data', async t => {

test('helpful error trying to provide an input stream in sync mode', t => {
t.throws(
() => execa.sync('stdin', {input: new stream.PassThrough()}),
() => {
execa.sync('stdin', {input: new stream.PassThrough()});
},
/The `input` option cannot be a stream in sync mode/
);
});
Expand Down

0 comments on commit dc71a28

Please sign in to comment.