summaryrefslogtreecommitdiff
path: root/spec/ruby/shared/string/times.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/shared/string/times.rb')
-rw-r--r--spec/ruby/shared/string/times.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/ruby/shared/string/times.rb b/spec/ruby/shared/string/times.rb
index cd4edf5340..8ca9507570 100644
--- a/spec/ruby/shared/string/times.rb
+++ b/spec/ruby/shared/string/times.rb
@@ -48,18 +48,6 @@ describe :string_times, shared: true do
end
end
- ruby_version_is ''...'2.7' do
- it "always taints the result when self is tainted" do
- ["", "OK", MyString.new(""), MyString.new("OK")].each do |str|
- str.taint
-
- [0, 1, 2].each do |arg|
- @object.call(str, arg).should.tainted?
- end
- end
- end
- end
-
it "returns a String in the same encoding as self" do
str = "\xE3\x81\x82".force_encoding Encoding::UTF_8
result = @object.call(str, 2)