diff options
author | Andrew Konchin <andry.konchin@gmail.com> | 2024-04-01 17:52:57 +0300 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2024-04-02 10:50:30 +0200 |
commit | 1e5949bd60464ed8767fcc8aabc79eeea5727daa (patch) | |
tree | 1c24f4ca43c05a6093b2e49fb575acf44634cbc8 /spec/ruby/library/net-http/httpresponse/shared/body.rb | |
parent | 8b55aaa85ca3b5333e6659f0f0b1eabdd0b9491b (diff) |
Update to ruby/spec@573cf97
Diffstat (limited to 'spec/ruby/library/net-http/httpresponse/shared/body.rb')
-rw-r--r-- | spec/ruby/library/net-http/httpresponse/shared/body.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/net-http/httpresponse/shared/body.rb b/spec/ruby/library/net-http/httpresponse/shared/body.rb index f35ca3200c..618e3936fb 100644 --- a/spec/ruby/library/net-http/httpresponse/shared/body.rb +++ b/spec/ruby/library/net-http/httpresponse/shared/body.rb @@ -3,7 +3,7 @@ require 'stringio' describe :net_httpresponse_body, shared: true do before :each do @res = Net::HTTPUnknownResponse.new("1.0", "???", "test response") - @socket = Net::BufferedIO.new(StringIO.new(+"test body")) + @socket = Net::BufferedIO.new(StringIO.new("test body")) end it "returns the read body" do |