Skip to content

Commit aa31ef2

Browse files
committed
Fix the style in test/bigdecimal/test_bigdecimal.rb
1 parent 0f3d5d0 commit aa31ef2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/bigdecimal/test_bigdecimal.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2089,14 +2089,14 @@ def test_initialize_copy_dup_clone_frozen_error
20892089
assert_raise(err) { bd.send(:initialize_dup, bd2) }
20902090
end
20912091

2092-
def test_llong_min
2092+
def test_llong_min_gh_200
20932093
# https://github.com/ruby/bigdecimal/issues/199
20942094
# Between LLONG_MIN and -ULLONG_MAX
20952095
llong_min = -(2 ** 63 + 1)
2096-
assert_equal BigDecimal(llong_min.to_s), BigDecimal(llong_min)
2096+
assert_equal(BigDecimal(llong_min.to_s), BigDecimal(llong_min), "[GH-200]")
20972097

20982098
minus_ullong_max = -(2 ** 64 - 1)
2099-
assert_equal BigDecimal(minus_ullong_max.to_s), BigDecimal(minus_ullong_max)
2099+
assert_equal(BigDecimal(minus_ullong_max.to_s), BigDecimal(minus_ullong_max), "[GH-200]")
21002100
end
21012101

21022102
def assert_no_memory_leak(code, *rest, **opt)

0 commit comments

Comments
 (0)