summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author180909 <734461790@qq.com>2021-10-25 11:15:55 +0800
committerGitHub <noreply@github.com>2021-10-25 12:15:55 +0900
commit66d09501c2476c55664135209e657477a626afb6 (patch)
treef93ff243a4ef13e10587fe349290fbf513192a32
parentdfb47bbd17c3c2b8ce17dbafaf62df023b0224b2 (diff)
fix typo [ci skip]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4972 Merged-By: nobu <nobu@ruby-lang.org>
-rw-r--r--spec/ruby/core/io/open_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/io/open_spec.rb b/spec/ruby/core/io/open_spec.rb
index 94df5a5ef6..d3a3961df7 100644
--- a/spec/ruby/core/io/open_spec.rb
+++ b/spec/ruby/core/io/open_spec.rb
@@ -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()