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

ruby-changes:34363

From: hsbt <ko1@a...>
Date: Mon, 16 Jun 2014 18:18:04 +0900 (JST)
Subject: [ruby-changes:34363] hsbt:r46444 (trunk): * test/date/test_date_strptime.rb: remove useless variable.

hsbt	2014-06-16 18:17:54 +0900 (Mon, 16 Jun 2014)

  New Revision: 46444

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

  Log:
    * test/date/test_date_strptime.rb: remove useless variable.

  Modified files:
    trunk/test/date/test_date_strptime.rb
Index: test/date/test_date_strptime.rb
===================================================================
--- test/date/test_date_strptime.rb	(revision 46443)
+++ test/date/test_date_strptime.rb	(revision 46444)
@@ -313,7 +313,6 @@ class TestDateStrptime < Test::Unit::Tes https://github.com/ruby/ruby/blob/trunk/test/date/test_date_strptime.rb#L313
   end
 
   def test_strptime__2
-    n = 10**9
     (Date.new(2006,6,1)..Date.new(2007,6,1)).each do |d|
       [
        '%Y %m %d',

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

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