diff options
author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-29 11:24:03 +0000 |
---|---|---|
committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-29 11:24:03 +0000 |
commit | 1ac57f70e8f5a7f4f333792e03aca06894d53195 (patch) | |
tree | 5169c1a7e5974dbc33c34eda8dfffbb6f3b8a810 /test/date/test_date_strftime.rb | |
parent | 06df4049ed811c50062fe4a3a8c342cb2caf2a27 (diff) |
* test/date/*.rb: imported additional tests and some adjustments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/date/test_date_strftime.rb')
-rw-r--r-- | test/date/test_date_strftime.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/date/test_date_strftime.rb b/test/date/test_date_strftime.rb index 42b9734785..cc386e02ca 100644 --- a/test/date/test_date_strftime.rb +++ b/test/date/test_date_strftime.rb @@ -350,7 +350,7 @@ class TestDateStrftime < Test::Unit::TestCase assert_equal('M45.07.29', Date.parse('1912-07-29').jisx0301) assert_equal('T01.07.30', Date.parse('1912-07-30').jisx0301) assert_equal('T15.12.24', Date.parse('1926-12-24').jisx0301) - assert_equal('S01.12.25', Date.parse('1926-12-25').jisx0301) + assert_equal('S01.12.25', Date.parse('1926-12-25').jisx0301) assert_equal('S64.01.07', Date.parse('1989-01-07').jisx0301) assert_equal('H01.01.08', Date.parse('1989-01-08').jisx0301) assert_equal('H18.09.01', Date.parse('2006-09-01').jisx0301) @@ -366,9 +366,6 @@ class TestDateStrftime < Test::Unit::TestCase assert_equal(s, Date.parse(s).jisx0301) end - d = Date.new(2001,2,3) - d2 = DateTime.new(2001,2,3,2) - end end |