diff options
Diffstat (limited to 'spec/ruby/core')
-rw-r--r-- | spec/ruby/core/objectspace/define_finalizer_spec.rb | 2 |
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 |