ruby-changes:48355
From: a_matsuda <ko1@a...>
Date: Fri, 27 Oct 2017 12:55:13 +0900 (JST)
Subject: [ruby-changes:48355] a_matsuda:r60469 (trunk): Fix typo
a_matsuda 2017-10-27 12:55:09 +0900 (Fri, 27 Oct 2017) New Revision: 60469 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60469 Log: Fix typo Patch by: 284km <k.furuhashi10@g...> https://github.com/ruby/ruby/pull/1729 [Fix GH-1729] Modified files: trunk/spec/ruby/core/module/const_defined_spec.rb Index: spec/ruby/core/module/const_defined_spec.rb =================================================================== --- spec/ruby/core/module/const_defined_spec.rb (revision 60468) +++ spec/ruby/core/module/const_defined_spec.rb (revision 60469) @@ -12,12 +12,12 @@ describe "Module#const_defined?" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/module/const_defined_spec.rb#L12 ConstantSpecs::ContainerA.const_defined?(:ChildA).should == true end - it "returns true if the constant is defined in the reciever's superclass" do + it "returns true if the constant is defined in the receiver's superclass" do # CS_CONST4 is defined in the superclass of ChildA ConstantSpecs::ContainerA::ChildA.const_defined?(:CS_CONST4).should be_true end - it "returns true if the constant is defined in a mixed-in module of the reciever" do + it "returns true if the constant is defined in a mixed-in module of the receiver" do # CS_CONST10 is defined in a module included by ChildA ConstantSpecs::ContainerA::ChildA.const_defined?(:CS_CONST10).should be_true end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/