Skip to content

Commit c539cfd

Browse files
committed
[ruby/bigdecimal] Fix test against #196
ruby/bigdecimal@a834eb92a2
1 parent 0350749 commit c539cfd

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy