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

Add tests for RegExp.escape #4123

Merged
merged 1 commit into from
Jul 18, 2024
Merged

Add tests for RegExp.escape #4123

merged 1 commit into from
Jul 18, 2024

Conversation

leobalter
Copy link
Member

Initial implementation of tests for RegExp.escape. I still need to review if I'm missing coverage here or running the tests.

@leobalter leobalter marked this pull request as draft June 28, 2024 22:05
@leobalter
Copy link
Member Author

Thanks @bakkot! I fixed some coverage. I'll have a hard stop for now but will continue later.

@leobalter leobalter marked this pull request as ready for review June 29, 2024 00:36
@leobalter leobalter force-pushed the leo/regexp-escape branch 2 times, most recently from 91dd85a to a74928b Compare June 29, 2024 00:57
@leobalter
Copy link
Member Author

This should be ready for another round of reviews.

Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

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

I haven't tried the two files that @bakkot commented on yet

features.txt Outdated Show resolved Hide resolved
test/built-ins/RegExp/escape/not-a-constructor.js Outdated Show resolved Hide resolved
test/built-ins/RegExp/escape/non-string-inputs.js Outdated Show resolved Hide resolved
test/built-ins/RegExp/escape/escaped-lineterminator.js Outdated Show resolved Hide resolved
test/built-ins/RegExp/escape/escaped-otherpuntuactors.js Outdated Show resolved Hide resolved
test/built-ins/RegExp/escape/escaped-whitespace.js Outdated Show resolved Hide resolved
@leobalter
Copy link
Member Author

Thanks, @ljharb! I believe I addressed all the review points so far.

Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

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

Took over the PR at Leo's request; PTAL

@ljharb ljharb requested a review from bakkot July 5, 2024 19:54
ljharb added a commit to es-shims/RegExp.escape that referenced this pull request Jul 9, 2024
@ljharb ljharb requested a review from a team July 12, 2024 17:29
@ljharb
Copy link
Member

ljharb commented Jul 18, 2024

Are these ready to merge? I'm hoping to ask for stage 3 at this month's plenary.

@Ms2ger Ms2ger enabled auto-merge (rebase) July 18, 2024 15:27
@Ms2ger Ms2ger merged commit 880f8a5 into tc39:main Jul 18, 2024
8 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.

6 participants