Skip to content

Add missing positive spec for Regex#match with option#12804

Merged
straight-shoota merged 1 commit intocrystal-lang:masterfrom
straight-shoota:spec/regex-match-option
Nov 30, 2022
Merged

Add missing positive spec for Regex#match with option#12804
straight-shoota merged 1 commit intocrystal-lang:masterfrom
straight-shoota:spec/regex-match-option

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