diff options
-rw-r--r-- | js/regex.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/js/regex.js b/js/regex.js index 8e314c4..14199af 100644 --- a/js/regex.js +++ b/js/regex.js @@ -212,11 +212,7 @@ const runTests = () => { } ]; - tests.forEach(({ - pattern, - input, - expected - }, index) => { + tests.forEach(({pattern,input,expected}, index) => { const tokens = tokenize(pattern); const ast = parse(tokens); const result = match(ast, input) !== null; |