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

Fix condition of Range#include? #3255

Merged
merged 1 commit into from Nov 18, 2016

Conversation

Projects
None yet
2 participants
@ksss
Contributor

ksss commented Nov 18, 2016

Expect

p (1...10).include?(9) #=> true
p (1...10).include?(10) #=> false

Actual

p (1...10).include?(9) #=> true
p (1...10).include?(10) #=> true

Maybe missed in be5986b

@matz matz merged commit b03b1e3 into mruby:master Nov 18, 2016

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

matz added a commit that referenced this pull request Nov 18, 2016

@ksss ksss deleted the ksss:range-include branch Nov 18, 2016

ksss added a commit to ksss/mruby that referenced this pull request Nov 21, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment