diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-12 02:25:38 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-12 02:25:38 +0000 |
commit | a42bd374f89e31082f10ff90f0809c4b904da37c (patch) | |
tree | dea59428d71a99844ad74a974e2fbce2273e30d5 /test | |
parent | 112acd7d42e4f290f0c0fd526f1d3a625dae60b2 (diff) | |
download | ruby-a42bd374f89e31082f10ff90f0809c4b904da37c.tar.gz |
Load as FIXOFF mode if zone is present
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_time_tz.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_time_tz.rb b/test/ruby/test_time_tz.rb index 97d8c432e8..d3da269d17 100644 --- a/test/ruby/test_time_tz.rb +++ b/test/ruby/test_time_tz.rb @@ -546,6 +546,7 @@ module TestTimeTZ::WithTZ t2 = Marshal.load(Marshal.dump(t)) assert_equal(t, t2) assert_equal(t.utc_offset, t2.utc_offset) + assert_equal(t.utc_offset, (t2+1).utc_offset) end end |