ruby-changes:59285
From: Nobuyoshi <ko1@a...>
Date: Tue, 17 Dec 2019 11:54:23 +0900 (JST)
Subject: [ruby-changes:59285] c687be4bc0 (master): Added a test for [Bug #16159]
https://git.ruby-lang.org/ruby.git/commit/?id=c687be4bc0 From c687be4bc01c9ce52ea990945d9304d6fe59fe9b Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 17 Dec 2019 11:53:30 +0900 Subject: Added a test for [Bug #16159] diff --git a/test/ruby/test_time_tz.rb b/test/ruby/test_time_tz.rb index 68f8736..83482ea 100644 --- a/test/ruby/test_time_tz.rb +++ b/test/ruby/test_time_tz.rb @@ -156,6 +156,12 @@ class TestTimeTZ < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_time_tz.rb#L156 } 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]) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/