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

Fix condition of Range#include? #3255

Merged
merged 1 commit into from Nov 18, 2016
Merged

Fix condition of Range#include? #3255

merged 1 commit into from Nov 18, 2016

Conversation

ksss
Copy link
Contributor

@ksss 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
@ksss ksss deleted the range-include branch Nov 18, 2016
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.

None yet

2 participants