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

ruby-changes:33317

From: nobu <ko1@a...>
Date: Mon, 24 Mar 2014 17:26:14 +0900 (JST)
Subject: [ruby-changes:33317] nobu:r45396 (trunk): test_time.rb: arguments order

nobu	2014-03-24 17:26:09 +0900 (Mon, 24 Mar 2014)

  New Revision: 45396

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

  Log:
    test_time.rb: arguments order
    
    * test/ruby/test_time.rb (TestTime#test_marshal_zone_gc): fix
      the order of arguments.  expected value should come first.

  Modified files:
    trunk/test/ruby/test_time.rb
Index: test/ruby/test_time.rb
===================================================================
--- test/ruby/test_time.rb	(revision 45395)
+++ test/ruby/test_time.rb	(revision 45396)
@@ -320,7 +320,7 @@ class TestTime < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_time.rb#L320
       while t.zone.dup == "JST" && n < done
         n += 1
       end
-      assert_equal n, done, "Bug #9652"
+      assert_equal done, n, "Bug #9652"
       assert_equal "JST", t.zone, "Bug #9652"
     end;
   end

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

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