diff options
author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-13 06:03:18 +0000 |
---|---|---|
committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-13 06:03:18 +0000 |
commit | d15f56dbd38fbcf49af472b3b5b8265aa8a46453 (patch) | |
tree | 728676489cde46406a59e688693f85d1970e746a /test | |
parent | 241ac28a04c4c7eda73c95586ad0c44abf25837a (diff) | |
download | ruby-d15f56dbd38fbcf49af472b3b5b8265aa8a46453.tar.gz |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/bigdecimal/test_bigdecimal_util.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |