diff options
-rw-r--r-- | test/bigdecimal/test_bigdecimal.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |