Bug #7655

range interval test does not consider string length

Added by John Matecsa over 1 year ago.

[ruby-core:51252]
Status:Open
Priority:Normal
Assignee:-
Category:build
Target version:Ruby 1.8.7
ruby -v:ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]

Description

('aaaaaa'..'zzzzzz') === 'count' #is count a 6 letter word?
=> true

IMHO the result should be false

ran code in irb

Also available in: Atom PDF