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

ruby-changes:33324

From: usa <ko1@a...>
Date: Tue, 25 Mar 2014 15:55:08 +0900 (JST)
Subject: [ruby-changes:33324] usa:r45403 (trunk): * test/ruby/test_time.rb: use portable time zone. see [Bug #9652]

usa	2014-03-25 15:55:04 +0900 (Tue, 25 Mar 2014)

  New Revision: 45403

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

  Log:
    * test/ruby/test_time.rb: use portable time zone. see [ruby-core:61671] [Bug #9652]

  Modified files:
    trunk/test/ruby/test_time.rb
Index: test/ruby/test_time.rb
===================================================================
--- test/ruby/test_time.rb	(revision 45402)
+++ test/ruby/test_time.rb	(revision 45403)
@@ -312,7 +312,7 @@ class TestTime < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_time.rb#L312
 
   def test_marshal_zone_gc
     assert_separately(%w(--disable-gems), <<-'end;')
-      ENV["TZ"] = "Asia/Tokyo"
+      ENV["TZ"] = "JST-9"
       s = Marshal.dump(Time.now)
       t = Marshal.load(s)
       n = 0

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

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