From 515bd4214497b3af02f6eef51b496ad9a0cf6b3b Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Mon, 26 Jun 2023 15:55:11 +0200 Subject: Update to ruby/spec@30e1c35 --- spec/ruby/library/stringio/shared/sysread.rb | 2 +- spec/ruby/library/stringio/shared/write.rb | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) (limited to 'spec/ruby/library/stringio/shared') diff --git a/spec/ruby/library/stringio/shared/sysread.rb b/spec/ruby/library/stringio/shared/sysread.rb index 3376bd9907..937bac705c 100644 --- a/spec/ruby/library/stringio/shared/sysread.rb +++ b/spec/ruby/library/stringio/shared/sysread.rb @@ -1,4 +1,4 @@ -describe :stringio_sysread_length, :shared => true do +describe :stringio_sysread_length, shared: true do before :each do @io = StringIO.new("example") end diff --git a/spec/ruby/library/stringio/shared/write.rb b/spec/ruby/library/stringio/shared/write.rb index b91e6ecec1..aa67bb73c7 100644 --- a/spec/ruby/library/stringio/shared/write.rb +++ b/spec/ruby/library/stringio/shared/write.rb @@ -60,13 +60,6 @@ describe :stringio_write_string, shared: true do @io.string.size.should == n.times.map(&:to_s).join.size end - ruby_version_is ""..."3.0" do - it "does not taint self when the passed argument is tainted" do - @io.send(@method, "test".taint) - @io.tainted?.should be_false - end - end - it "handles writing non-ASCII UTF-8 after seek" do @io.binmode @io << "\x80" -- cgit v1.2.3