diff options
author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-08 13:18:47 +0000 |
---|---|---|
committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-08 13:18:47 +0000 |
commit | 10c4a861ebcbf0190beaca91c015126b851e5023 (patch) | |
tree | 7dac9e4d82fafa7f0fc63ca4ffaab8e3063ed14d /test/date/test_date_strftime.rb | |
parent | e2ab17e8816fb3a13b5e47eb7842961b45672e0d (diff) |
* test/ruby/test_{complex2,complexrational}.rb: use skip.
* test/date/*.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31489 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, 1 insertions, 2 deletions
diff --git a/test/date/test_date_strftime.rb b/test/date/test_date_strftime.rb index e4b336fa1d..c56ad6fe5a 100644 --- a/test/date/test_date_strftime.rb +++ b/test/date/test_date_strftime.rb @@ -123,9 +123,8 @@ 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')) |