summaryrefslogtreecommitdiff
path: root/test/dbm/test_dbm.rb
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2019-10-18 12:02:38 -0700
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-10-26 07:03:33 +0900
commit0c579b0a97bdec40ed58e15ab611ec00bb83d48d (patch)
treea265846489a3422c5f186dd93efe680e3ab3909e /test/dbm/test_dbm.rb
parent41d52945063e671d34324dc0acefae1534ff7835 (diff)
[ruby/dbm] Remove taint support
Ruby 2.7 deprecates taint and it no longer has an effect. The lack of taint support should not cause a problem in previous Ruby versions. https://github.com/ruby/dbm/commit/1f0ff0bce1
Diffstat (limited to 'test/dbm/test_dbm.rb')
-rw-r--r--test/dbm/test_dbm.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/dbm/test_dbm.rb b/test/dbm/test_dbm.rb
index d7cb5497fc2..dcbe57851c9 100644
--- a/test/dbm/test_dbm.rb
+++ b/test/dbm/test_dbm.rb
@@ -63,7 +63,6 @@ if defined? DBM
result = Object.new
assert_same(result, @dbm_rdonly.fetch("bar") {|k| notfound = k; result})
assert_equal("bar", notfound)
- assert_predicate(notfound, :tainted?)
end
end