From 184e9e9d885a7d83ac0797c466647462008a6f7d Mon Sep 17 00:00:00 2001 From: tadf Date: Tue, 26 Apr 2011 16:05:49 +0000 Subject: use skip git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/date/test_date_strftime.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test/date') diff --git a/test/date/test_date_strftime.rb b/test/date/test_date_strftime.rb index c8528d0e91..c56ad6fe5a 100644 --- a/test/date/test_date_strftime.rb +++ b/test/date/test_date_strftime.rb @@ -124,9 +124,7 @@ class TestDateStrftime < Test::Unit::TestCase def test_strftime__3_2 s = Time.now.strftime('%G') - if s.empty? || s == '%G' - return - end + 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')) -- cgit v1.2.3