From 7b06085c7bf8cc0db157e46fb11d16a6447d4d63 Mon Sep 17 00:00:00 2001 From: Kenta Murata Date: Sat, 19 Dec 2020 02:44:20 +0900 Subject: [bigdecimal] Fix test for d5ab8e8562 --- test/bigdecimal/test_bigdecimal.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/bigdecimal/test_bigdecimal.rb') diff --git a/test/bigdecimal/test_bigdecimal.rb b/test/bigdecimal/test_bigdecimal.rb index c8e70acfd0..a2af553333 100644 --- a/test/bigdecimal/test_bigdecimal.rb +++ b/test/bigdecimal/test_bigdecimal.rb @@ -231,7 +231,7 @@ class TestBigDecimal < Test::Unit::TestCase 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 v1.2.3