Skip to content

Re-organize and enhance specs for Regex::MatchData#12789

Merged
straight-shoota merged 9 commits intocrystal-lang:masterfrom
straight-shoota:spec/regex_matchdata
Nov 29, 2022
Merged

Re-organize and enhance specs for Regex::MatchData#12789
straight-shoota merged 9 commits intocrystal-lang:masterfrom
straight-shoota:spec/regex_matchdata

Conversation

@straight-shoota
Copy link
Member

This patch is a big overhaul of Regex::MatchData specs, improving both the structure of the tests as well as adding some specs for previously untested behaviour.

The changes affect nearly all lines and the file is moved to spec/std/regex, but following the individual commits should make it easy to understand each set of changes. The first commit (2a11e1d) is just a rename and does not change the contents of the file (GitHub UI still doesn't seem to recognize the renamed file for the branch diff).

See #12788 for similar changes for Regex specs.

Copy link
Member

@beta-ziliani beta-ziliani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@beta-ziliani beta-ziliani added this to the 1.7.0 milestone Nov 28, 2022
@straight-shoota straight-shoota merged commit 5cc9eff into crystal-lang:master Nov 29, 2022
@straight-shoota straight-shoota deleted the spec/regex_matchdata branch November 29, 2022 16:42
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