1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
tadf 2011-05-08 13:18:47 +00:00
parent e2ab17e881
commit 10c4a861eb
7 changed files with 34 additions and 56 deletions

View file

@ -96,8 +96,7 @@ class TestDateAttr < Test::Unit::TestCase
end
def test_nth_kday
return
# skip unless Date.new.respond_to?(:nth_kday?, true)
skip unless Date.new.respond_to?(:nth_kday?, true)
assert_equal(false, Date.new(2001,1,14).__send__(:nth_kday?, 1,0))
assert_equal(true, Date.new(2001,1,14).__send__(:nth_kday?, 2,0))
assert_equal(false, Date.new(2001,1,14).__send__(:nth_kday?, 3,0))