aboutsummaryrefslogtreecommitdiffstats
path: root/test/date/test_date_strftime.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-08 11:15:23 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-08 11:15:23 +0000
commitbf92aa8b16f938c888197edc70a5bd97a39581bc (patch)
tree7065c9f6bb2a53e3f3c40752598666903c753a0d /test/date/test_date_strftime.rb
parent19f52b87408263faba97f91404d84d4ef707bab6 (diff)
downloadruby-bf92aa8b16f938c888197edc70a5bd97a39581bc.tar.gz
Revert r31478.
In CRuby's test-all, skip is for something to be fixed. When some external library is missing, it should silently return; don't flood the test result with meaningless messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/date/test_date_strftime.rb')
-rw-r--r--test/date/test_date_strftime.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/date/test_date_strftime.rb b/test/date/test_date_strftime.rb
index c4ac2de0db..c56ad6fe5a 100644
--- a/test/date/test_date_strftime.rb
+++ b/test/date/test_date_strftime.rb
@@ -124,7 +124,7 @@ class TestDateStrftime < Test::Unit::TestCase
def test_strftime__3_2
s = Time.now.strftime('%G')
- skip 'not provided'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'))