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

Additional tests for QuantifiableAssertion #1456

Merged
merged 1 commit into from
Feb 26, 2018

Conversation

littledan
Copy link
Member

Based on the tests in https://chromium-review.googlesource.com/c/v8/v8/+/926102

These tests pass on V8 (if the throw for early errors is removed to
work around a V8 issue where RegExps don't have early errors).

- Tests that lookahead and lookbehind are not extended to
  QuantifiableAssertion, as in tc39/ecma262#1102
- Additional tests verifying some more combinations of cases for
  QuantifiableAssertion being invalid in Unicode mode.

Based on the tests in https://chromium-review.googlesource.com/c/v8/v8/+/926102

These tests pass on V8 (if the throw for early errors is removed to
work around a V8 issue where RegExps don't have early errors).
@littledan
Copy link
Member Author

Thanks @hashseed for originally writing these tests and implementing the new semantics in V8!

@littledan
Copy link
Member Author

Oops, probably I was too eager to merge this, not sure what I was thinking... the PR itself doesn't explicitly have consensus.

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