Project

General

Profile

Bug #7655

range interval test does not consider string length

Added by matecsaj (John Matecsa) over 6 years ago.

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

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