diff options
Diffstat (limited to 'test/ruby/test_hash.rb')
-rw-r--r-- | test/ruby/test_hash.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_hash.rb b/test/ruby/test_hash.rb index afb0ca4805..8c8ce6d7c3 100644 --- a/test/ruby/test_hash.rb +++ b/test/ruby/test_hash.rb @@ -883,6 +883,8 @@ class TestHash < Test::Unit::TestCase h = @cls[1=>2] h.shift assert_equal({}.hash, h.hash, '[ruby-core:38650]') + bug9231 = '[ruby-core:58993] [Bug #9231]' + assert_not_equal(0, @cls[].hash, bug9231) end def test_update2 |