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

ruby-changes:45722

From: naruse <ko1@a...>
Date: Tue, 7 Mar 2017 14:11:08 +0900 (JST)
Subject: [ruby-changes:45722] naruse:r57795 (trunk): Supress warning: instance variable @repeat_count not initialized

naruse	2017-03-07 14:11:02 +0900 (Tue, 07 Mar 2017)

  New Revision: 57795

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

  Log:
    Supress warning: instance variable @repeat_count not initialized

  Modified files:
    trunk/test/lib/minitest/unit.rb
Index: test/lib/minitest/unit.rb
===================================================================
--- test/lib/minitest/unit.rb	(revision 57794)
+++ test/lib/minitest/unit.rb	(revision 57795)
@@ -1020,6 +1020,7 @@ module MiniTest https://github.com/ruby/ruby/blob/trunk/test/lib/minitest/unit.rb#L1020
       @verbose = false
       @mutex = Thread::Mutex.new
       @info_signal = Signal.list['INFO']
+      @repeat_count = nil
     end
 
     def synchronize # :nodoc:

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

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