summaryrefslogtreecommitdiff
path: root/test/ruby/test_time.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-07 02:58:55 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-07 02:58:55 +0000
commit3c0f66570cec6ce2eb7e60d2dfef80ad0cff2878 (patch)
tree57585c794a62c482e39458d5b752dd3a10b0cf88 /test/ruby/test_time.rb
parent1bb1d096fbd5d5b79539aa5ff9bf53bca87fe686 (diff)
Use more portable value for ENV['TZ']
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_time.rb')
-rw-r--r--test/ruby/test_time.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_time.rb b/test/ruby/test_time.rb
index c4ffccedad..ca2b638e2d 100644
--- a/test/ruby/test_time.rb
+++ b/test/ruby/test_time.rb
@@ -297,7 +297,7 @@ class TestTime < Test::Unit::TestCase
assert_equal('UTC', t.zone)
assert_equal('UTC', Marshal.load(Marshal.dump(t)).zone)
- ENV['TZ'] = 'Asia/Tokyo'
+ ENV['TZ'] = 'JST-9'
t = Time.local(2013, 2, 24)
assert_equal('JST', Time.local(2013, 2, 24).zone)
assert_equal('JST', Marshal.load(Marshal.dump(t)).zone)