summaryrefslogtreecommitdiff
path: root/spec/ruby/core/marshal
diff options
context:
space:
mode:
authorAndrew Konchin <andry.konchin@gmail.com>2024-04-01 17:52:57 +0300
committerBenoit Daloze <eregontp@gmail.com>2024-04-02 10:50:30 +0200
commit1e5949bd60464ed8767fcc8aabc79eeea5727daa (patch)
tree1c24f4ca43c05a6093b2e49fb575acf44634cbc8 /spec/ruby/core/marshal
parent8b55aaa85ca3b5333e6659f0f0b1eabdd0b9491b (diff)
Update to ruby/spec@573cf97
Diffstat (limited to 'spec/ruby/core/marshal')
-rw-r--r--spec/ruby/core/marshal/shared/load.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/marshal/shared/load.rb b/spec/ruby/core/marshal/shared/load.rb
index 1c8fa4c38c..f599042529 100644
--- a/spec/ruby/core/marshal/shared/load.rb
+++ b/spec/ruby/core/marshal/shared/load.rb
@@ -647,7 +647,7 @@ describe :marshal_load, shared: true do
end
it "sets binmode if it is loading through StringIO stream" do
- io = StringIO.new(+"\004\b:\vsymbol")
+ io = StringIO.new("\004\b:\vsymbol")
def io.binmode; raise "binmode"; end
-> { Marshal.load(io) }.should raise_error(RuntimeError, "binmode")
end