Bug #7655
closed
range interval test does not consider string length
Added by matecsaj (John Matecsa) about 12 years ago.
Updated over 5 years ago.
Description
('aaaaaa'..'zzzzzz') === 'count' #is count a 6 letter word?
=> true
IMHO the result should be false
ran code in irb
- Tracker changed from Bug to Backport
- Project changed from Ruby 1.8 to Backport186
- Target version deleted (
Ruby 1.8.7)
- ruby -v deleted (
ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0])
- Tracker changed from Backport to Bug
- Project changed from Backport186 to Ruby master
- Status changed from Open to Rejected
- Backport set to 2.5: UNKNOWN, 2.6: UNKNOWN
Also available in: Atom
PDF
Like0
Like0Like0