* lib/test/unit/assertions.rb (Test::Unit::Assertions#skip): reason to
skip should be explained. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c95cbe809e
commit
3bc5b309be
@ -1,4 +1,7 @@
|
|||||||
Fri Jun 10 13:01:24 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Fri Jun 10 13:04:39 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/test/unit/assertions.rb (Test::Unit::Assertions#skip): reason to
|
||||||
|
skip should be explained.
|
||||||
|
|
||||||
* test/ruby/test_module.rb (TestModule#remove_rake_mixins): remove all
|
* test/ruby/test_module.rb (TestModule#remove_rake_mixins): remove all
|
||||||
module related to Rake.
|
module related to Rake.
|
||||||
|
@ -24,6 +24,11 @@ module Test
|
|||||||
super
|
super
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def skip(msg = nil, bt = caller)
|
||||||
|
raise ArgumentError, "no reason to skip" unless msg
|
||||||
|
super
|
||||||
|
end
|
||||||
|
|
||||||
def assert_block(*msgs)
|
def assert_block(*msgs)
|
||||||
assert yield, *msgs
|
assert yield, *msgs
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user