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 missing positive spec for Regex#match with option #12804

Merged

Conversation

straight-shoota
Copy link
Member

@straight-shoota straight-shoota commented Nov 29, 2022

This is a follow-up for #12788.
A "positive" test case for Regex#match with an option argument etc. was missing. And this was exactly where a silent bug in the refactoring of #12802 appeared, that was not caught be the regex spec (but string_scanner spec, fortunately).

@straight-shoota straight-shoota added this to the 1.7.0 milestone Nov 29, 2022
@straight-shoota straight-shoota merged commit 312e369 into crystal-lang:master Nov 30, 2022
@straight-shoota straight-shoota deleted the spec/regex-match-option branch November 30, 2022 23:30
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.

2 participants