summaryrefslogtreecommitdiff
path: root/test/bigdecimal
diff options
context:
space:
mode:
authormrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-13 06:03:18 +0000
committermrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-13 06:03:18 +0000
commit65285fbdb898a6c19b4115ba337b4cf4298dc05f (patch)
tree728676489cde46406a59e688693f85d1970e746a /test/bigdecimal
parentea7af54e73882c96b24407b350c65d33a74eae2f (diff)
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/bigdecimal')
-rw-r--r--test/bigdecimal/test_bigdecimal_util.rb2
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