ruby-changes:70464
From: Kenta <ko1@a...>
Date: Fri, 24 Dec 2021 02:29:44 +0900 (JST)
Subject: [ruby-changes:70464] 247d8d2815 (master): [ruby/bigdecimal] Fix the style in test/bigdecimal/test_bigdecimal.rb
https://git.ruby-lang.org/ruby.git/commit/?id=247d8d2815 From 247d8d2815155467c032dce568d14199028f32ca Mon Sep 17 00:00:00 2001 From: Kenta Murata <3959+mrkn@u...> Date: Fri, 12 Nov 2021 23:08:53 +0900 Subject: [ruby/bigdecimal] Fix the style in test/bigdecimal/test_bigdecimal.rb https://github.com/ruby/bigdecimal/commit/aa31ef2f33 --- test/bigdecimal/test_bigdecimal.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/bigdecimal/test_bigdecimal.rb b/test/bigdecimal/test_bigdecimal.rb index 8d4d2353e32..3cc851adc4d 100644 --- a/test/bigdecimal/test_bigdecimal.rb +++ b/test/bigdecimal/test_bigdecimal.rb @@ -2089,14 +2089,14 @@ class TestBigDecimal < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/bigdecimal/test_bigdecimal.rb#L2089 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) -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/