diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-12-17 11:53:30 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-12-17 11:53:30 +0900 |
commit | c687be4bc01c9ce52ea990945d9304d6fe59fe9b (patch) | |
tree | 82c625d455bdfdd3ee3b183398350f879a4acf2b | |
parent | ebe5b66ca8e639468e14c4134a415403d949385e (diff) | |
download | ruby-c687be4bc01c9ce52ea990945d9304d6fe59fe9b.tar.gz |
Added a test for [Bug #16159]
-rw-r--r-- | test/ruby/test_time_tz.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/ruby/test_time_tz.rb b/test/ruby/test_time_tz.rb index 68f8736a6a..83482eac65 100644 --- a/test/ruby/test_time_tz.rb +++ b/test/ruby/test_time_tz.rb @@ -156,6 +156,12 @@ class TestTimeTZ < Test::Unit::TestCase } end + def test_asia_kuala_lumpur + with_tz(tz="Asia/Kuala_Lumpur") { + assert_time_constructor(tz, "1933-01-01 00:20:00 +0720", :local, [1933]) + } + end + def test_canada_newfoundland with_tz(tz="America/St_Johns") { assert_time_constructor(tz, "2007-11-03 23:00:59 -0230", :new, [2007,11,3,23,0,59,:dst]) |