diff options
author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-08 11:56:32 +0000 |
---|---|---|
committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-08 11:56:32 +0000 |
commit | a4ecf14d586f304d78dbbcdc113bf0bf2ec12d94 (patch) | |
tree | bf0baa6b1b21c58ab28a659d959c3479307dd035 /test/date/test_date_strftime.rb | |
parent | 5518dc64cf740df0988b7c2bd3a57f5455b9cc41 (diff) |
* test/date/*.rb: NEVER SKIP.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/date/test_date_strftime.rb')
-rw-r--r-- | test/date/test_date_strftime.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/date/test_date_strftime.rb b/test/date/test_date_strftime.rb index c56ad6fe5a..e4b336fa1d 100644 --- a/test/date/test_date_strftime.rb +++ b/test/date/test_date_strftime.rb @@ -123,8 +123,9 @@ class TestDateStrftime < Test::Unit::TestCase end def test_strftime__3_2 + return s = Time.now.strftime('%G') - skip if s.empty? || s == '%G' +# skip if s.empty? || s == '%G' (Date.new(1970,1,1)..Date.new(2037,12,31)).each do |d| t = Time.utc(d.year,d.mon,d.mday) assert_equal(t.strftime('%G'), d.strftime('%G')) |