summaryrefslogtreecommitdiff
path: root/test/date/test_date_new.rb
diff options
context:
space:
mode:
authortadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-08 11:33:41 +0000
committertadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-08 11:33:41 +0000
commitdbe8aba7f921414f2e4a5ba83b1a852c433b8e2d (patch)
treedd7021f34278b4531ef16995abeeaa02e4dd89ee /test/date/test_date_new.rb
parentbf92aa8b16f938c888197edc70a5bd97a39581bc (diff)
downloadruby-dbe8aba7f921414f2e4a5ba83b1a852c433b8e2d.tar.gz
* test/date/*.rb: reverted 31483.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31484 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])