From 332ded0742afa6117504b0f9b6f44594dc93b688 Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Mon, 30 Mar 2020 14:09:23 +0200 Subject: [PATCH] fix --- test/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/index.js b/test/index.js index 05787e0..93cd315 100644 --- a/test/index.js +++ b/test/index.js @@ -67,7 +67,7 @@ test ('run non-global regex without result', (t) => { const data = 'foobarfoo'; const regex = /baz/u; let count = 0; - util.run_regex (regex, data, (res) => { + util.run_regex (regex, data, () => { count++; }); t.is (count, 0);