aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_gc.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-05 05:35:34 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-05 05:35:34 +0000
commit14b46d30e0c5b096a7f7cf5293f8bf8adb1835bd (patch)
treec46b8e8615cb63835d4c9c5d3468a5cd9d95337d /test/ruby/test_gc.rb
parentc348613504613b73a7fa5204158cd80bd88b982c (diff)
downloadruby-14b46d30e0c5b096a7f7cf5293f8bf8adb1835bd.tar.gz
test_gc.rb: shorten
* test/ruby/test_gc.rb (test_sweep_in_finalizer): omit iteration number to 2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_gc.rb')
-rw-r--r--test/ruby/test_gc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb
index 41e09b63fb..7410516c7a 100644
--- a/test/ruby/test_gc.rb
+++ b/test/ruby/test_gc.rb
@@ -241,7 +241,7 @@ class TestGc < Test::Unit::TestCase
def test_sweep_in_finalizer
bug9205 = '[ruby-core:58833] [Bug #9205]'
- 100.times do
+ 2.times do
assert_ruby_status([], <<-'end;', bug9205)
raise_proc = proc do |id|
GC.start