summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/bigdecimal/test_bigdecimal.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bigdecimal/test_bigdecimal.rb b/test/bigdecimal/test_bigdecimal.rb
index 78c50f6d27..51aae272d9 100644
--- a/test/bigdecimal/test_bigdecimal.rb
+++ b/test/bigdecimal/test_bigdecimal.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