tests/pattern-tests.js


Log

Author Commit Date CI Message
Michael Schmidt e416341f 2020-05-22T17:37:53 Test: Always use `components.json` (#2370) All test files now consistently import `components.json` instead of `components.js`. The JS file is generated and can be outdated. This can be annoying when you're adding a language.
Michael Schmidt 10ca6433 2020-05-04T23:52:49 Better error messages for pattern tests (#2364)
Michael Schmidt 7d03ece4 2020-03-10T15:12:08 Tests: Added test for zero-width lookbehinds (#2220)
Michael Schmidt 1e3070a2 2020-03-07T18:06:01 Tests: Fixed optional dependencies in pattern tests (#2242) The pattern tests still used peer dependencies, so I updated them to use optional and modify dependencies instead.
Michael Schmidt 81e1c3dd 2020-01-18T17:23:39 Tests: Added new pattern check for octal escapes (#2189) This adds a new pattern check to disallow octal character escapes (e.g. `\12`).
Michael Schmidt c187e229 2019-10-16T12:06:22 Added test for unused capturing groups (#1996) This adds a test that checks for unused capturing groups in patterns and another test which ensures that lookbehind groups are always the first thing being matched in a pattern.
Michael Schmidt 3fda5c95 2019-09-03T12:49:58 Added test for nice names (#1911) This adds a test which requires every token name to match a strict pattern to avoid inconsistent naming styles.