diff options
author | Kenta Murata <3959+mrkn@users.noreply.github.com> | 2021-11-12 23:08:53 +0900 |
---|---|---|
committer | Kenta Murata <mrkn@mrkn.jp> | 2021-12-24 02:28:51 +0900 |
commit | 247d8d2815155467c032dce568d14199028f32ca (patch) | |
tree | 28e9990920a75a7a63fb006c51d44d5750dffa52 /test/bigdecimal/test_bigdecimal.rb | |
parent | ec478d947f218e1b94856941135701fe37e88fbc (diff) |
[ruby/bigdecimal] Fix the style in test/bigdecimal/test_bigdecimal.rb
https://github.com/ruby/bigdecimal/commit/aa31ef2f33
Diffstat (limited to 'test/bigdecimal/test_bigdecimal.rb')
-rw-r--r-- | test/bigdecimal/test_bigdecimal.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/bigdecimal/test_bigdecimal.rb b/test/bigdecimal/test_bigdecimal.rb index 8d4d2353e3..3cc851adc4 100644 --- a/test/bigdecimal/test_bigdecimal.rb +++ b/test/bigdecimal/test_bigdecimal.rb @@ -2089,14 +2089,14 @@ class TestBigDecimal < Test::Unit::TestCase assert_raise(err) { bd.send(:initialize_dup, bd2) } end - def test_llong_min + def test_llong_min_gh_200 # https://github.com/ruby/bigdecimal/issues/199 # Between LLONG_MIN and -ULLONG_MAX llong_min = -(2 ** 63 + 1) - assert_equal BigDecimal(llong_min.to_s), BigDecimal(llong_min) + assert_equal(BigDecimal(llong_min.to_s), BigDecimal(llong_min), "[GH-200]") minus_ullong_max = -(2 ** 64 - 1) - assert_equal BigDecimal(minus_ullong_max.to_s), BigDecimal(minus_ullong_max) + assert_equal(BigDecimal(minus_ullong_max.to_s), BigDecimal(minus_ullong_max), "[GH-200]") end def assert_no_memory_leak(code, *rest, **opt) |