summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKenta Murata <mrkn@mrkn.jp>2020-12-19 02:44:20 +0900
committerKenta Murata <mrkn@mrkn.jp>2020-12-19 02:44:20 +0900
commit7b06085c7bf8cc0db157e46fb11d16a6447d4d63 (patch)
tree4e3b8fcac392b9204de43c56c168a56e44f58db9 /test
parentd5ab8e8562ec15979a32365fe4bf85be9e6334c0 (diff)
[bigdecimal] Fix test for d5ab8e8562
Diffstat (limited to 'test')
-rw-r--r--test/bigdecimal/test_bigdecimal.rb2
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