-
-
Notifications
You must be signed in to change notification settings - Fork 388
Update an Enumerable#uniq
spec and add Enumerator::Lazy#uniq
specs
#448
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
Conversation
core/enumerable/uniq_spec.rb
Outdated
end | ||
end | ||
|
||
ruby_bug '#13669', ''...'2.5' do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#54 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will be backported in 2.4.
In the meanwhile it's OK to have this ruby_bug
guard.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK to have
BTW, Range syntax makes 🔴 😕 https://travis-ci.org/ruby/spec/jobs/245452368
So updated as a satisfied version as fe53279
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
''...'2.5'
means excluding 2.5, '2.5'
means until 2.5 inclusive.
ruby-head in Travis is old (from May), that's why it fails.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a typical synchronization problem.
Maybe I should stop testing against ruby-head or allow failure on Travis,
since MRI already runs ruby/spec on trunk.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! 📝
Enumerator::Lazy#uniq
specs asEnumerable#uniq