Skip to content
New issue

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

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

Already on GitHub? # to your account

Tokenizers/YieldTest: improve tests #646

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Oct 25, 2024

Description

Improve the YieldTest by also verifying the contents of the matched token. This is particularly needed for the yield from tests, where we need to verify that yield and from keywords are joined into one token on PHP 5.4-5.6.

Suggested changelog entry

N/A

Improve the `YieldTest` by also verifying the _contents_ of the matched token. This is particularly needed for the `yield from` tests, where we need to verify that `yield` and `from` keywords are joined into one token on PHP 5.4-5.6.
@jrfnl jrfnl added this to the 3.11.0 milestone Oct 25, 2024
@jrfnl jrfnl enabled auto-merge October 25, 2024 03:09
@jrfnl jrfnl merged commit 028501d into master Oct 25, 2024
52 checks passed
@jrfnl jrfnl deleted the feature/tokenizer-yieldtests-iterate branch October 25, 2024 03:37
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant