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);