diff options
-rw-r--r-- | spec/ruby/core/io/open_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -63,7 +63,7 @@ describe "IO.open" do ScratchPad.recorded.should == :called end - it "does not propagate a IOError with 'closed stream' message raised by #close" do IO.open(@fd, "w") do |io| IOSpecs.io_mock(io, :close) do super() @@ -74,7 +74,7 @@ describe "IO.open" do ScratchPad.recorded.should == :called end - it "does not set last error when a IOError with 'closed stream' raised by #close" do IO.open(@fd, "w") do |io| IOSpecs.io_mock(io, :close) do super() |