aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_enumerator.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
commit05be244e60b5aa8edc1d4a0a4d315dd815da2031 (patch)
treec7ac02b58faafe7f92946fe8f14c18480280624f /test/ruby/test_enumerator.rb
parent4e316341843fe57dddf267fee753ee430ff39508 (diff)
downloadruby-05be244e60b5aa8edc1d4a0a4d315dd815da2031.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_enumerator.rb')
-rw-r--r--test/ruby/test_enumerator.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_enumerator.rb b/test/ruby/test_enumerator.rb
index aa36187ba2..3cb9dc789f 100644
--- a/test/ruby/test_enumerator.rb
+++ b/test/ruby/test_enumerator.rb
@@ -103,6 +103,7 @@ class TestEnumerator < Test::Unit::TestCase
1.times do
foo = [1,2,3].to_enum
GC.start
+ foo
end
GC.start
end