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

ruby-changes:30519

From: eregon <ko1@a...>
Date: Sat, 17 Aug 2013 23:20:19 +0900 (JST)
Subject: [ruby-changes:30519] eregon:r42598 (trunk): * test/ruby/test_time.rb (#in_timezone): fix typo of r42596

eregon	2013-08-17 23:20:12 +0900 (Sat, 17 Aug 2013)

  New Revision: 42598

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

  Log:
    * test/ruby/test_time.rb (#in_timezone): fix typo of r42596

  Modified files:
    trunk/test/ruby/test_time.rb
Index: test/ruby/test_time.rb
===================================================================
--- test/ruby/test_time.rb	(revision 42597)
+++ test/ruby/test_time.rb	(revision 42598)
@@ -315,7 +315,7 @@ class TestTime < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_time.rb#L315
   def in_timezone(zone)
     orig_zone = ENV['TZ']
 
-    ENV['TZ'] = 'UTC'
+    ENV['TZ'] = zone
     yield
   ensure
     ENV['TZ'] = orig_zone

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

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