tests/pattern-tests.js


Log

Author Commit Date CI Message
Michael Schmidt 5333e281 2021-10-19T19:34:41 Added regex coverage (#3138)
Michael Schmidt 2e834c8c 2021-10-19T14:59:04 Tests: Added `.html.test` files for replace `.js` language tests (#3148)
Michael Schmidt ae8888a0 2021-10-19T14:55:03 Tests: Added `TestCaseFile` class and generalized `runTestCase` (#3147)
Michael Schmidt 3c61c8f7 2021-10-14T14:01:11 ESLint: Added `regexp/no-useless-flag` rule (#3150)
Michael Schmidt d216e602 2021-09-12T20:00:45 Tests: Improved dection of empty patterns (#3058)
Jason Kurian a62ef796 2021-06-03T13:34:57 Tests: Added `--language` for patterns tests (#2929)
Michael Schmidt ad9878ad 2021-05-31T21:57:27 Deps: Updated regex tooling (#2923)
Michael Schmidt 53151404 2021-05-01T18:01:07 Tests: Exhaustive pattern tests (#2688)
Michael Schmidt fd20dbe4 2021-05-01T14:53:38 ESLint: Added spacing rules (#2862)
Michael Schmidt 9cae4461 2021-04-17T22:26:40 ESLint: Added quotes rule (#2835)
Michael Schmidt 772d42be 2021-03-26T13:16:16 Added ESLint with minimal config (#2831)
Michael Schmidt d85e30da 2021-03-05T16:38:11 Updated refa + fixed 2 cases of exp backtracking (#2774)
Michael Schmidt e644178b 2020-12-28T18:19:11 Added test for polynomial backtracking (#2597)
Michael Schmidt 05afbb10 2020-11-29T00:12:15 Added test for exponential backtracking (#2590) This adds a simple test to detect certain causes of exponential backtracking.
Michael Schmidt 0df60be1 2020-11-04T17:18:23 Tests: Stricter pattern for nice-token-names test (#2588)
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.