mruby-set: remove taint/untaint which are no longer exist.

This commit is contained in:
Yukihiro "Matz" Matsumoto
2022-10-25 16:57:24 +09:00
parent 7cf3b57cba
commit 1152c43039
3 changed files with 0 additions and 22 deletions
-2
View File
@@ -24,8 +24,6 @@ set1 ^ set2
These methods are not implemented yet:
- freeze
- taint
- untaint
- to_set
- divide(Set#divide with 2 arity block is not implemented.)
-10
View File
@@ -51,16 +51,6 @@ class Set
# super
# end
# def taint
# @hash.taint
# super
# end
# def untaint
# @hash.untaint
# super
# end
def size
@hash.size
end
-10
View File
@@ -593,16 +593,6 @@ assert("Set#divide") do
# assert_equal(Set, ret.class)
end
# taint is not implemented yet
#assert("taintness") do
# orig = set = Set[1,2,3]
# assert_false set.tainted?
# assert_true set.taint.equal?(orig) # assert_same
# assert_true set.tainted?
# assert_true set.instance_variable_get(:@hash).tainted?
# assert_true set.untaint.equal?(orig) # assert_same
# assert_false set.tainted?
#end
# freeze is not implemented yet
#assert("freeze") do
# orig = set = Set[1,2,3]