summaryrefslogtreecommitdiff
path: root/test/uri/test_ldap.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-01-25 23:12:50 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-01-25 23:12:50 +0000
commit37679ee584e409088a2f083594e3c4ccba486e13 (patch)
treeea8390a11414859640d50b21293a2190d99f73ce /test/uri/test_ldap.rb
parenta967f738c83b960f23f5b04403a17ca37f049e25 (diff)
supress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/uri/test_ldap.rb')
-rw-r--r--test/uri/test_ldap.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/uri/test_ldap.rb b/test/uri/test_ldap.rb
index 14ef392..c96a067 100644
--- a/test/uri/test_ldap.rb
+++ b/test/uri/test_ldap.rb
@@ -81,8 +81,8 @@ class TestLDAP < Test::Unit::TestCase
['ldap', nil, URI::LDAP::DEFAULT_PORT,
'',
nil, 'sub', nil, '!bindname=cn=Manager%2co=Foo'],
- }.each do |url, ary|
- u = URI.parse(url)
+ }.each do |url2, ary|
+ u = URI.parse(url2)
assert_equal(ary, uri_to_ary(u))
end
end