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 4244b86b56..0593785148 100644 --- a/test/ruby/test_hash.rb +++ b/test/ruby/test_hash.rb @@ -555,6 +555,8 @@ class TestHash < Test::Unit::TestCase assert_equal(h3, h.reject {|k,v| v }) assert_equal(base, h) + + assert_predicate(h.taint.reject {true}, :tainted?) end def test_reject! |