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 | 75ac8e866ba16ce5492d02ca7a2146f5905f0bff (patch) | |
tree | dea59428d71a99844ad74a974e2fbce2273e30d5 /test | |
parent | 093398f979216d95ac9aaf1cef1055195eeca441 (diff) |
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 |