From 4301a0964f5e6f352299c44b4ad3f1d38d2c8db4 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Thu, 18 Feb 2016 18:14:12 +0700 Subject: [PATCH] update for latest AVA --- test/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index 28bd7f2..9f5abf2 100644 --- a/test/test.js +++ b/test/test.js @@ -48,7 +48,7 @@ test('generate screenshots using keywords', async t => { test('show help screen', async t => { const {stdout} = await execFile('../cli.js', ['--help']); - t.regexTest(/Capture screenshots of websites in various resolutions./, stdout); + t.regex(stdout, /Capture screenshots of websites in various resolutions./); }); test('show version', async t => {