This commit is contained in:
Timo Hocker 2020-03-30 14:09:23 +02:00
parent 3ffc1e232b
commit 332ded0742

View File

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