[前][次][番号順一覧][スレッド一覧]

ruby-changes:51602

From: kazu <ko1@a...>
Date: Sun, 1 Jul 2018 10:38:20 +0900 (JST)
Subject: [ruby-changes:51602] kazu:r63813 (trunk): Remove unused variable

kazu	2018-07-01 10:38:16 +0900 (Sun, 01 Jul 2018)

  New Revision: 63813

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63813

  Log:
    Remove unused variable

  Modified files:
    trunk/spec/ruby/language/constants_spec.rb
Index: spec/ruby/language/constants_spec.rb
===================================================================
--- spec/ruby/language/constants_spec.rb	(revision 63812)
+++ spec/ruby/language/constants_spec.rb	(revision 63813)
@@ -632,7 +632,6 @@ describe "Module#private_constant marked https://github.com/ruby/ruby/blob/trunk/spec/ruby/language/constants_spec.rb#L632
     end
 
     it "has the defined class as the :name attribute" do
-      exception = nil
       lambda do
         ConstantVisibility::PrivConstClassChild::PRIVATE_CONSTANT_CLASS
       end.should raise_error(NameError) {|e|

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]