Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regexp-modifiers syntax error tests #4016

Merged
merged 4 commits into from
Mar 5, 2024

Conversation

ioannad
Copy link
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
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 <[email protected]>
Co-Authored-By: Ioanna M. Dimitriou H <[email protected]>
@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
9 checks passed
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