1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[bigdecimal] Fix test for d5ab8e8562

This commit is contained in:
Kenta Murata 2020-12-19 02:44:20 +09:00
parent d5ab8e8562
commit 7b06085c7b
No known key found for this signature in database
GPG key ID: CEFE8AFB6081B062

View file

@ -231,7 +231,7 @@ class TestBigDecimal < Test::Unit::TestCase
end end
def test_s_allocate 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 end
def test_s_new def test_s_new