ruby-changes:46817
From: svn <ko1@a...>
Date: Sun, 28 May 2017 06:55:09 +0900 (JST)
Subject: [ruby-changes:46817] svn:r58932 (trunk): * remove trailing spaces.
svn 2017-05-28 06:55:03 +0900 (Sun, 28 May 2017) New Revision: 58932 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58932 Log: * remove trailing spaces. Modified files: trunk/spec/rubyspec/language/undef_spec.rb Index: spec/rubyspec/language/undef_spec.rb =================================================================== --- spec/rubyspec/language/undef_spec.rb (revision 58931) +++ spec/rubyspec/language/undef_spec.rb (revision 58932) @@ -9,35 +9,35 @@ describe "The undef keyword" do https://github.com/ruby/ruby/blob/trunk/spec/rubyspec/language/undef_spec.rb#L9 @obj = @undef_class.new @obj.meth(5).should == 5 end - + it "with an identifier" do @undef_class.class_eval do undef meth end lambda { @obj.meth(5) }.should raise_error(NoMethodError) end - + it "with a simple symbol" do @undef_class.class_eval do undef :meth end lambda { @obj.meth(5) }.should raise_error(NoMethodError) end - + it "with a single quoted symbol" do @undef_class.class_eval do undef :'meth' end lambda { @obj.meth(5) }.should raise_error(NoMethodError) end - + it "with a double quoted symbol" do @undef_class.class_eval do undef :"meth" end lambda { @obj.meth(5) }.should raise_error(NoMethodError) end - + it "with a interpolated symbol" do @undef_class.class_eval do undef :"#{'meth'}" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/