aboutsummaryrefslogtreecommitdiffstats
path: root/test/date/test_date_new.rb
diff options
context:
space:
mode:
authortadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-08 08:18:10 +0000
committertadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-08 08:18:10 +0000
commit847b46145229b083b8c7a09ef0f15b5fc1b32fd5 (patch)
treeedbcff0a6866665e0b404b3d3d740a8b89608d83 /test/date/test_date_new.rb
parentd54240d35e0ca6d090cbf325ee6d098b2cfd5af9 (diff)
downloadruby-847b46145229b083b8c7a09ef0f15b5fc1b32fd5.tar.gz
* test/date/*.rb: use skip /w messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/date/test_date_new.rb')
-rw-r--r--test/date/test_date_new.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/date/test_date_new.rb b/test/date/test_date_new.rb
index da63c2248e..26fdd39544 100644
--- a/test/date/test_date_new.rb
+++ b/test/date/test_date_new.rb
@@ -211,7 +211,7 @@ class TestDateNew < Test::Unit::TestCase
end
def test_weeknum
- skip unless Date.respond_to?(:weeknum, true)
+ skip 'not provided'unless Date.respond_to?(:weeknum, true)
d = Date.__send__(:weeknum)
dt = DateTime.__send__(:weeknum)
assert_equal([-4712, 1, 1], [d.year, d.mon, d.mday])
@@ -234,7 +234,7 @@ class TestDateNew < Test::Unit::TestCase
end
def test_nth_kday
- skip unless Date.respond_to?(:nth_kday, true)
+ skip 'not provided'unless Date.respond_to?(:nth_kday, true)
d = Date.__send__(:nth_kday)
dt = DateTime.__send__(:nth_kday)
assert_equal([-4712, 1, 1], [d.year, d.mon, d.mday])