From 1ac57f70e8f5a7f4f333792e03aca06894d53195 Mon Sep 17 00:00:00 2001 From: tadf Date: Mon, 29 Sep 2008 11:24:03 +0000 Subject: * 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 --- test/date/test_date_strftime.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'test/date/test_date_strftime.rb') 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 -- cgit v1.2.3