From dc71a287d2f5618fcba58a1337f550220f722b74 Mon Sep 17 00:00:00 2001 From: ehmicky Date: Tue, 14 May 2019 19:15:22 +0200 Subject: [PATCH] Fix function arrow style --- test.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test.js b/test.js index 145dd3779f..4923780710 100644 --- a/test.js +++ b/test.js @@ -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/ ); });