From 65285fbdb898a6c19b4115ba337b4cf4298dc05f Mon Sep 17 00:00:00 2001 From: mrkn Date: Mon, 13 Mar 2017 06:03:18 +0000 Subject: bigdecimal: version 1.3.2 Import bigdecimal version 1.3.2. The full commit log is here: https://github.com/ruby/bigdecimal/compare/v1.3.1...v1.3.2 This fixes [ruby-core:79603] [Bug #13232] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/bigdecimal/test_bigdecimal_util.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/bigdecimal') diff --git a/test/bigdecimal/test_bigdecimal_util.rb b/test/bigdecimal/test_bigdecimal_util.rb index 3a3772c449..35adddddef 100644 --- a/test/bigdecimal/test_bigdecimal_util.rb +++ b/test/bigdecimal/test_bigdecimal_util.rb @@ -42,7 +42,7 @@ class TestBigDecimalUtil < Test::Unit::TestCase end def test_Rational_to_d_with_zero_precision - assert_raise(ArgumentError) { 355.quo(113).to_d(0) } + assert_equal(BigDecimal(355.quo(113), 0), 355.quo(113).to_d(0)) end def test_Rational_to_d_with_negative_precision -- cgit v1.2.3