Skip to content

Commit a834eb9

Browse files
committed
Fix test against #196
1 parent 159af10 commit a834eb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/bigdecimal/test_bigdecimal.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -948,8 +948,8 @@ def test_div
948948

949949
BigDecimal.mode(BigDecimal::EXCEPTION_INFINITY, true)
950950
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 }
951+
assert_raise_with_message(FloatDomainError, "Computation results in 'Infinity'") { BigDecimal("1") / 0 }
952+
assert_raise_with_message(FloatDomainError, "Computation results in '-Infinity'") { BigDecimal("-1") / 0 }
953953
end
954954

955955
def test_div_with_float

0 commit comments

Comments
 (0)