ruby-changes:64294
From: Kenta <ko1@a...>
Date: Sat, 19 Dec 2020 02:44:49 +0900 (JST)
Subject: [ruby-changes:64294] 7b06085c7b (master): [bigdecimal] Fix test for d5ab8e8562
https://git.ruby-lang.org/ruby.git/commit/?id=7b06085c7b From 7b06085c7bf8cc0db157e46fb11d16a6447d4d63 Mon Sep 17 00:00:00 2001 From: Kenta Murata <mrkn@m...> Date: Sat, 19 Dec 2020 02:44:20 +0900 Subject: [bigdecimal] Fix test for d5ab8e8562 diff --git a/test/bigdecimal/test_bigdecimal.rb b/test/bigdecimal/test_bigdecimal.rb index c8e70ac..a2af553 100644 --- a/test/bigdecimal/test_bigdecimal.rb +++ b/test/bigdecimal/test_bigdecimal.rb @@ -231,7 +231,7 @@ class TestBigDecimal < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/bigdecimal/test_bigdecimal.rb#L231 end def test_s_allocate - assert_raise_with_message(NoMethodError, /undefined method `allocate'/) { BigDecimal.allocate } + assert_raise_with_message(TypeError, /allocator undefined for BigDecimal/) { BigDecimal.allocate } end def test_s_new -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/