summaryrefslogtreecommitdiff
path: root/test/ruby/test_iterator.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-02-19 07:48:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-02-19 07:48:02 +0000
commit41f4317f45021460871bd11c666f438f5517904b (patch)
treec7ac02b58faafe7f92946fe8f14c18480280624f /test/ruby/test_iterator.rb
parent311b7154839b91c87ee40908ac6d3f5c330d7b11 (diff)
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_iterator.rb')
-rw-r--r--test/ruby/test_iterator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_iterator.rb b/test/ruby/test_iterator.rb
index fb81820ebf..52eac0d59e 100644
--- a/test/ruby/test_iterator.rb
+++ b/test/ruby/test_iterator.rb
@@ -109,7 +109,7 @@ class TestIterator < Test::Unit::TestCase
def test_append_method_to_built_in_class
x = [[1,2],[3,4],[5,6]]
- assert_equal(x.iter_test1{|x|x}, x.iter_test2{|x|x})
+ assert_equal(x.iter_test1{|e|e}, x.iter_test2{|e|e})
end
class IterTest