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:
parent
d5ab8e8562
commit
7b06085c7b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue