diff options
Diffstat (limited to 'test/ruby/test_hash.rb')
-rw-r--r-- | test/ruby/test_hash.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_hash.rb b/test/ruby/test_hash.rb index 8b6910cf3b..e08235ec1c 100644 --- a/test/ruby/test_hash.rb +++ b/test/ruby/test_hash.rb @@ -1330,7 +1330,7 @@ class TestHash < Test::Unit::TestCase def o.respond_to?(*args) super end - assert_raise(TypeError) {{foo: o}.dig(:foo, :foo)} + assert_raise(TypeError, bug12030) {{foo: o}.dig(:foo, :foo)} end def test_cmp |