[bigdecimal] Fix test for d5ab8e8562
This commit is contained in:
parent
d5ab8e8562
commit
7b06085c7b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user