* test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_gc):
reduced heavy test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
41874ab6a3
commit
64dee0063b
@ -702,7 +702,7 @@ class TestBigDecimal < Test::Unit::TestCase
|
|||||||
def test_gc
|
def test_gc
|
||||||
bug3258 = '[ruby-dev:41213]'
|
bug3258 = '[ruby-dev:41213]'
|
||||||
stress, GC.stress = GC.stress, true
|
stress, GC.stress = GC.stress, true
|
||||||
1000.times do |i|
|
10.upto(20) do |i|
|
||||||
b = BigDecimal.new("1"+"0"*i)
|
b = BigDecimal.new("1"+"0"*i)
|
||||||
assert_equal([1, "1", 10, i+1], b.split, bug3258)
|
assert_equal([1, "1", 10, i+1], b.split, bug3258)
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user