diff options
-rw-r--r-- | test/ruby/test_class.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_class.rb b/test/ruby/test_class.rb index 0ceb36bb1d..28285705bf 100644 --- a/test/ruby/test_class.rb +++ b/test/ruby/test_class.rb @@ -793,11 +793,11 @@ class TestClass < Test::Unit::TestCase def test_subclass_gc c = Class.new - 100000.times do + 10_000.times do cc = Class.new(c) 100.times { Class.new(cc) } end - assert(c.subclasses.size <= 100000) + assert(c.subclasses.size <= 10_000) end def test_subclass_gc_stress |