aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_array.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_array.rb')
-rw-r--r--test/ruby/test_array.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_array.rb b/test/ruby/test_array.rb
index 1f434e37fa..fb78085e61 100644
--- a/test/ruby/test_array.rb
+++ b/test/ruby/test_array.rb
@@ -909,6 +909,8 @@ class TestArray < Test::Unit::TestCase
a3 = @cls[ 'dog', 'cat' ]
assert_equal(a1.hash, a2.hash)
assert_not_equal(a1.hash, a3.hash)
+ bug9231 = '[ruby-core:58993] [Bug #9231]'
+ assert_not_equal(false.hash, @cls[].hash, bug9231)
end
def test_include?