8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c3fe73 commit 6b63f0aCopy full SHA for 6b63f0a
test/bigdecimal/test_bigdecimal.rb
@@ -948,8 +948,8 @@ def test_div
948
949
BigDecimal.mode(BigDecimal::EXCEPTION_INFINITY, true)
950
BigDecimal.mode(BigDecimal::EXCEPTION_ZERODIVIDE, false)
951
- assert_raise_with_message(FloatDomainError, "Computation results to 'Infinity'") { BigDecimal("1") / 0 }
952
- assert_raise_with_message(FloatDomainError, "Computation results to '-Infinity'") { BigDecimal("-1") / 0 }
+ assert_raise_with_message(FloatDomainError, "Computation results in 'Infinity'") { BigDecimal("1") / 0 }
+ assert_raise_with_message(FloatDomainError, "Computation results in '-Infinity'") { BigDecimal("-1") / 0 }
953
end
954
955
def test_div_with_float
0 commit comments