aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2020-10-19 13:20:34 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2020-10-19 13:20:34 +0900
commitce628503344997e8ebd94bd3725c18797f58e3af (patch)
treef30da2d5029a9db461073580a7da1067961a72ce /spec/ruby/core
parent09dd9d8e5da29f8dfa1c78553950f9469d7291e6 (diff)
downloadruby-ce628503344997e8ebd94bd3725c18797f58e3af.tar.gz
Fix typos [ci skip]
Diffstat (limited to 'spec/ruby/core')
-rw-r--r--spec/ruby/core/objectspace/define_finalizer_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/objectspace/define_finalizer_spec.rb b/spec/ruby/core/objectspace/define_finalizer_spec.rb
index d25d2a923f..83cbb39985 100644
--- a/spec/ruby/core/objectspace/define_finalizer_spec.rb
+++ b/spec/ruby/core/objectspace/define_finalizer_spec.rb
@@ -94,7 +94,7 @@ describe "ObjectSpace.define_finalizer" do
ruby_exe(code, :args => "2>&1").should include("warning: finalizer references object to be finalized\n")
end
- it "warns if the finalizer was a block in the reciever" do
+ it "warns if the finalizer was a block in the receiver" do
code = <<-RUBY
class CapturesSelf
def initialize