1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

fix typo [ci skip]

This commit is contained in:
180909 2021-10-25 11:15:55 +08:00 committed by GitHub
parent dfb47bbd17
commit 66d09501c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: git 2021-10-25 12:16:16 +09:00
Merged: https://github.com/ruby/ruby/pull/4972

Merged-By: nobu <nobu@ruby-lang.org>

View file

@ -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
it "does not propagate an 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
it "does not set last error when an IOError with 'closed stream' raised by #close" do
IO.open(@fd, "w") do |io|
IOSpecs.io_mock(io, :close) do
super()