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

* 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:
nobu 2011-06-10 04:04:41 +00:00
parent c95cbe809e
commit 3bc5b309be
2 changed files with 9 additions and 1 deletions

View file

@ -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
module related to Rake.

View file

@ -24,6 +24,11 @@ module Test
super
end
def skip(msg = nil, bt = caller)
raise ArgumentError, "no reason to skip" unless msg
super
end
def assert_block(*msgs)
assert yield, *msgs
end