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:
parent
dfb47bbd17
commit
66d09501c2
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>
1 changed files with 2 additions and 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
|
||||
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()
|
||||
|
|
Loading…
Reference in a new issue