зеркало из https://github.com/github/ruby.git
* test/fileutils/fileasserts.rb (assert_block): pass arguments
as-is. [ruby-dev:43174] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
49f8799af4
Коммит
790f43a374
|
@ -1,3 +1,8 @@
|
|||
Sat Feb 5 20:40:34 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* test/fileutils/fileasserts.rb (assert_block): pass arguments
|
||||
as-is. [ruby-dev:43174]
|
||||
|
||||
Sat Feb 5 16:47:54 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
|
||||
|
|
|
@ -8,8 +8,8 @@ module Test
|
|||
yield
|
||||
end
|
||||
|
||||
def assert_block msg = nil
|
||||
assert yield, msg
|
||||
def assert_block(*msgs)
|
||||
assert yield, *msgs
|
||||
end
|
||||
|
||||
def assert_same_file(from, to, message=nil)
|
||||
|
|
Загрузка…
Ссылка в новой задаче