Project

General

Profile

Backport #7655

range interval test does not consider string length

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

Status:
Open
Priority:
Normal
Assignee:
-
[ruby-core:51252]

Description

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

IMHO the result should be false

ran code in irb

History

#1

Updated by jeremyevans0 (Jeremy Evans) 7 days ago

  • ruby -v deleted (ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0])
  • Target version deleted (Ruby 1.8.7)
  • Project changed from Ruby 1.8 to Backport186
  • Tracker changed from Bug to Backport

Also available in: Atom PDF