Skip to content

Regexp-modifiers syntax error tests#4016

Merged
ptomato merged 4 commits intotc39:mainfrom
ioannad:regexp-modifiers-syntax-tests
Mar 5, 2024
Merged

Regexp-modifiers syntax error tests#4016
ptomato merged 4 commits intotc39:mainfrom
ioannad:regexp-modifiers-syntax-tests

Conversation

@ioannad
Copy link
Copy Markdown
Contributor

@ioannad ioannad commented Feb 29, 2024

Adds syntax tests for the RegExp modifiers proposal.

Based on PR #3807 which had generated these tests from templates, but was stuck due to issue #3808.

Since these tests are a shipping blocker for v8, and #3808 seems not straight-forward to fix, I modified the generated tests and removed the templates.

Additional tests suggested by @rbuckton are now added.

This should cover all the syntax error tests of the testing plan in #3756, and along with #3960 complete the tests for RegExp-modifiers.

@ioannad ioannad requested review from a team as code owners February 29, 2024 20:36
@ioannad ioannad changed the title Regexp modifiers syntax tests Regexp-modifiers syntax error tests Feb 29, 2024
Copy link
Copy Markdown
Contributor

@ptomato ptomato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only reviewed the new changes, but I previously reviewed #3758/#3807 and so have @gibson042 and @rbuckton, so I'm confident this can be merged.

What I will do before merging is squashing some of the commits.

@ptomato ptomato force-pushed the regexp-modifiers-syntax-tests branch from 1a24186 to e943047 Compare March 5, 2024 20:37
cjtenny and others added 3 commits March 5, 2024 12:53
Based on PR tc39#3807 which had generated these tests from templates,
but was stuck due to issue tc39#3808.

Co-Authored-By: Guillaume Emont <guijemont@igalia.com>
Co-Authored-By: Ioanna M. Dimitriou H <idimitriou@igalia.com>
Co-Authored-By: Ioanna M. Dimitriou H <idimitriou@igalia.com>
@ptomato ptomato force-pushed the regexp-modifiers-syntax-tests branch from e943047 to d3245cc Compare March 5, 2024 20:53
@ptomato ptomato merged commit 9e03c40 into tc39:main Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants