diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-12 15:28:01 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-12 15:28:01 +0000 |
commit | 0c7a092dd2a11d4569bde2a5d139cf310c4afd81 (patch) | |
tree | 3c90be9d658ff0959a8fa0912c2c3a0bf8254b08 /test/uri/test_generic.rb | |
parent | e592a735cbe24692721833073d7aebee0d96b393 (diff) | |
download | ruby-0c7a092dd2a11d4569bde2a5d139cf310c4afd81.tar.gz |
do not need to downcase twice
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/uri/test_generic.rb')
-rw-r--r-- | test/uri/test_generic.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/uri/test_generic.rb b/test/uri/test_generic.rb index bfb5a174a8..5a1021fe17 100644 --- a/test/uri/test_generic.rb +++ b/test/uri/test_generic.rb @@ -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 |