Project

General

Profile

Bug #7655

range interval test does not consider string length

Added by matecsaj (John Matecsa) almost 7 years ago. Updated about 2 months ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
[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) 3 months 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
#2

Updated by jeremyevans0 (Jeremy Evans) about 2 months ago

  • Backport set to 2.5: UNKNOWN, 2.6: UNKNOWN
  • Status changed from Open to Rejected
  • Project changed from Backport186 to Ruby master
  • Tracker changed from Backport to Bug

Also available in: Atom PDF