Skip to content

Fix some failed Enumerable#find_index specs#5303

Merged
kares merged 1 commit intojruby:masterfrom
nomadium:fix-enumerable-find-index-failed-tests
Sep 3, 2018
Merged

Fix some failed Enumerable#find_index specs#5303
kares merged 1 commit intojruby:masterfrom
nomadium:fix-enumerable-find-index-failed-tests

Conversation

@nomadium
Copy link
Contributor

Hi folks,

This change should fix the remaining failing specs for Enumerable#find_index.

This change removes the assumption that #each would yield passing always a single object. It could yield without passing parameters, passing one or more objects or yield an explicit array (empty or not).

This change removes the assumption that #each would yield passing always
a single object. It could yield without passing parameters, passing one
or more objects or yield an explicit array (empty or not).
@kares kares merged commit 5572b29 into jruby:master Sep 3, 2018
@kares kares added this to the JRuby 9.2.1.0 milestone Sep 3, 2018
@kares
Copy link
Member

kares commented Sep 3, 2018

nice find!

@nomadium nomadium deleted the fix-enumerable-find-index-failed-tests branch September 3, 2018 19:01
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