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

[ruby-2.3 core/enumerable] - Add specs for Enumerable#chunk_while #168

Merged
merged 1 commit into from
Dec 5, 2015

Conversation

cthulhua
Copy link
Contributor

@cthulhua cthulhua commented Dec 5, 2015

Adding tests for Enumerable#chunk_while.
See: https://github.com/ruby/ruby/blob/trunk/enum.c#L3409
Pretty much just the slice_when test, but with the block return value negated, since that's what chunk_while is.

@eregon
Copy link
Member

eregon commented Dec 5, 2015

Looks good, thank you for you contribution! 👍

eregon added a commit that referenced this pull request Dec 5, 2015
[ruby-2.3 core/enumerable] - Add specs for Enumerable#chunk_while
@eregon eregon merged commit 53f535b into ruby:master Dec 5, 2015
@cthulhua cthulhua deleted the chunk_while branch December 6, 2015 00:12
@eregon eregon mentioned this pull request Dec 16, 2015
51 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants