aboutsummaryrefslogtreecommitdiffstats
path: root/test/date
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-09-29 14:15:55 +0900
committergit <svn-admin@ruby-lang.org>2022-09-29 14:56:39 +0900
commitcb16dcb1849b3b971b34ef2405949a57e65b8a8a (patch)
treecc3562fcd2951d5edd3e852bfdbd22c06f5702a5 /test/date
parent942066713b736c2554f25513ae7986f04e929820 (diff)
downloadruby-cb16dcb1849b3b971b34ef2405949a57e65b8a8a.tar.gz
[ruby/date] The shrunk words to be copied is limited
Th buffer size is small enough and no need to allocate dynamically. https://github.com/ruby/date/commit/f62bf0a01d
Diffstat (limited to 'test/date')
-rw-r--r--test/date/test_date_parse.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/date/test_date_parse.rb b/test/date/test_date_parse.rb
index 0b7fc269d0..0b4a383630 100644
--- a/test/date/test_date_parse.rb
+++ b/test/date/test_date_parse.rb
@@ -41,6 +41,7 @@ class TestDateParse < Test::Unit::TestCase
[['Sat Aug 28 02:29:34 Mountain Daylight Time 2000',false],[2000,8,28,2,29,34,'Mountain Daylight Time',-6*3600,6], __LINE__],
[['Sat Aug 28 02:29:34 Mexico Standard Time 2000',false],[2000,8,28,2,29,34,'Mexico Standard Time',-6*3600,6], __LINE__],
[['Sat Aug 28 02:29:34 E. Australia Standard Time 2000',false],[2000,8,28,2,29,34,'E. Australia Standard Time',10*3600,6], __LINE__],
+ [['Sat Aug 28 02:29:34 W. Central Africa Standard Time 2000',false],[2000,8,28,2,29,34,'W. Central Africa Standard Time',1*3600,6], __LINE__],
# part of iso 8601
[['1999-05-23 23:55:21',false],[1999,5,23,23,55,21,nil,nil,nil], __LINE__],