summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorsuke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-29 11:18:37 +0000
committersuke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-29 11:18:37 +0000
commit06df4049ed811c50062fe4a3a8c342cb2caf2a27 (patch)
treedfbac80cb9ecc8a37aa1c90f18c8f3bd05805cde /test
parent8dcd42552feefe6b990763db0d9c24836a66da6f (diff)
* ext/win32ole/win32ole.c (fev_initialize): initialization
handler instance variable. * test/win32ole/test_win32ole_typelib.rb (test_s_typelibs): fix the warning of shadowing outer local variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/win32ole/test_win32ole_typelib.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/win32ole/test_win32ole_typelib.rb b/test/win32ole/test_win32ole_typelib.rb
index a1c3891396..389a5e6fea 100644
--- a/test/win32ole/test_win32ole_typelib.rb
+++ b/test/win32ole/test_win32ole_typelib.rb
@@ -10,7 +10,7 @@ if defined?(WIN32OLE_TYPELIB)
tlibs = WIN32OLE_TYPELIB.typelibs
assert_instance_of(Array, tlibs)
assert(tlibs.size > 0)
- tlib = tlibs.find {|tlib| tlib.name == "Microsoft Shell Controls And Automation"}
+ tlib = tlibs.find {|t| t.name == "Microsoft Shell Controls And Automation"}
assert(tlib)
end