Skip to content

Fix tagged as failed spec for Enumerable#slice_when#5323

Merged
kares merged 1 commit intojruby:masterfrom
nomadium:fix-tagged-spec-enumerable-slice_when-an-iterator-yields-more-than-one-value
Sep 25, 2018
Merged

Fix tagged as failed spec for Enumerable#slice_when#5323
kares merged 1 commit intojruby:masterfrom
nomadium:fix-tagged-spec-enumerable-slice_when-an-iterator-yields-more-than-one-value

Conversation

@nomadium
Copy link
Contributor

In order to iterate correctly over Enumerable elements, #each_entry method should be used, because that method will convert multiple values from yield to an array, if required.

This is a fix similar to #5302.

In order to iterate correctly over Enumerable elements, #each_entry
method should be used, because that method will convert multiple
values from yield to an array, if required.
@nomadium
Copy link
Contributor Author

@kares kares merged commit dbdb80f into jruby:master Sep 25, 2018
@kares kares added this to the JRuby 9.2.1.0 milestone Sep 25, 2018
@nomadium nomadium deleted the fix-tagged-spec-enumerable-slice_when-an-iterator-yields-more-than-one-value branch November 25, 2018 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants