* test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_gc): Fix
a bogus test that would have never passed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@37223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6585a304ce
commit
14ddf6c9f0
|
@ -1,3 +1,8 @@
|
|||
Tue Oct 16 17:53:44 2012 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_gc): Fix
|
||||
a bogus test that would have never passed.
|
||||
|
||||
Tue Oct 16 17:35:41 2012 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* test/-ext-/test_threadswitch_hook.rb
|
||||
|
|
|
@ -692,7 +692,7 @@ class TestBigDecimal < Test::Unit::TestCase
|
|||
bug3258 = '[ruby-dev:41213]'
|
||||
stress, GC.stress = GC.stress, true
|
||||
1000.times do |i|
|
||||
b = BigDecimal.new("1"+"0"*i).to_s
|
||||
b = BigDecimal.new("1"+"0"*i)
|
||||
assert_equal([1, "1", 10, i+1], b.split, bug3258)
|
||||
end
|
||||
ensure
|
||||
|
|
Loading…
Reference in New Issue