mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
do not need to downcase twice
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e592a735cb
commit
0c7a092dd2
1 changed files with 1 additions and 1 deletions
|
@ -898,7 +898,7 @@ class URI::TestGeneric < Test::Unit::TestCase
|
|||
|
||||
def [](k)
|
||||
k = k.downcase
|
||||
@h.has_key?(k) ? @h[k.downcase][1] : nil
|
||||
@h.has_key?(k) ? @h[k][1] : nil
|
||||
end
|
||||
|
||||
def length
|
||||
|
|
Loading…
Reference in a new issue