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-match-indices #2309

Merged
merged 4 commits into from
Sep 18, 2019

Conversation

rbuckton
Copy link
Contributor

@rbuckton
Copy link
Contributor Author

@leobalter I take it there's currently no way to specify that a specific host argument is required for a test? The feature is currently enabled in V8 v7.8 under the --harmony-regexp-match-indices flag, but that's not included in the --harmony flag apparently.

@leobalter
Copy link
Member

@rbuckton:

I take it there's currently no way to specify that a specific host argument is required for a test

Test262 is agostic with the host usage and there isn't any mapping to arguments used by any. A test runner consuming test262 could easily do this mapping from the features flags but there isn't anything already doing it.

harness/compareArray.js Outdated Show resolved Hide resolved
harness/compareArray.js Outdated Show resolved Hide resolved
harness/compareArray.js Show resolved Hide resolved
harness/propertyHelper.js Outdated Show resolved Hide resolved
@rbuckton rbuckton force-pushed the regexp-match-indices branch from 0b040c7 to 85db19d Compare August 30, 2019 00:49
leobalter
leobalter previously approved these changes Sep 18, 2019
@leobalter leobalter merged commit 1056d8f into tc39:master Sep 18, 2019
@rbuckton rbuckton deleted the regexp-match-indices branch October 2, 2019 00:32
jugglinmike added a commit to bocoup/test262 that referenced this pull request Sep 18, 2021
The `assert.deepEqual` utility method was originally implemented in
support of two tests for the "RegExp Match Indices" proposal [1]. In the
years since that time, it has been referenced by one additional test,
where it is interchangeable with the considerably simpler
`assert.compareArray`.

Refactor the RegExp tests to use a simpler inline helper function that
verifies the same semantics and preserves meaningful error messages.

[1] tc39#2309
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants