diff options
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_time.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ruby/test_time.rb b/test/ruby/test_time.rb index 7c5ee5466d..2bd4bc8455 100644 --- a/test/ruby/test_time.rb +++ b/test/ruby/test_time.rb @@ -556,6 +556,10 @@ class TestTime < Test::Unit::TestCase def test_zone assert_zone_encoding Time.now + t = Time.now.utc + assert_equal("UTC", t.zone) + assert_nil(t.getlocal(0).zone) + assert_nil(t.getlocal("+02:00").zone) end def test_plus_minus_succ |