summaryrefslogtreecommitdiff
path: root/test/ruby/test_symbol.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_symbol.rb')
-rw-r--r--test/ruby/test_symbol.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/ruby/test_symbol.rb b/test/ruby/test_symbol.rb
index b62e7538c8..bf2c4adbc9 100644
--- a/test/ruby/test_symbol.rb
+++ b/test/ruby/test_symbol.rb
@@ -122,6 +122,11 @@ class TestSymbol < Test::Unit::TestCase
GC.stress = true
true.tap(&:itself)
end;
+
+ assert_ruby_status([], <<-"end;", timeout: 0.1)
+ GC.stress = true
+ 100.times {Proc.new(&:itself)}
+ end;
end
def test_call