mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
1 changed files with 1 additions and 1 deletions
|
@ -702,7 +702,7 @@ class TestBigDecimal < Test::Unit::TestCase
|
|||
def test_gc
|
||||
bug3258 = '[ruby-dev:41213]'
|
||||
stress, GC.stress = GC.stress, true
|
||||
1000.times do |i|
|
||||
10.upto(20) do |i|
|
||||
b = BigDecimal.new("1"+"0"*i)
|
||||
assert_equal([1, "1", 10, i+1], b.split, bug3258)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue