diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-19 07:48:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-19 07:48:02 +0000 |
commit | 41f4317f45021460871bd11c666f438f5517904b (patch) | |
tree | c7ac02b58faafe7f92946fe8f14c18480280624f /test/ruby/test_super.rb | |
parent | 311b7154839b91c87ee40908ac6d3f5c330d7b11 (diff) | |
download | ruby-41f4317f45021460871bd11c666f438f5517904b.tar.gz |
test/ruby: suppress parser warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_super.rb')
-rw-r--r-- | test/ruby/test_super.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_super.rb b/test/ruby/test_super.rb index 06e3e6e3b5..469ba60ff2 100644 --- a/test/ruby/test_super.rb +++ b/test/ruby/test_super.rb @@ -485,8 +485,8 @@ class TestSuper < Test::Unit::TestCase bug9740 = '[ruby-core:62017] [Bug #9740]' b.module_eval do - define_method(:foo) do |result| - um.bind(self).call(result) + define_method(:foo) do |res| + um.bind(self).call(res) end end |