1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Asia/Tokyo is more portable value for ENV["TZ"] [Bug #9652]

FreeBSD doesn't accept "Japan".

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2014-03-24 08:02:54 +00:00
parent 2e47a521e6
commit f664ffb5a0

View file

@ -312,7 +312,7 @@ class TestTime < Test::Unit::TestCase
def test_marshal_zone_gc
assert_separately(%w(--disable-gems), <<-'end;')
ENV["TZ"] = "Japan"
ENV["TZ"] = "Asia/Tokyo"
s = Marshal.dump(Time.now)
t = Marshal.load(s)
n = 0