зеркало из https://github.com/github/ruby.git
* test/testunit/test_testcase.rb: catch up with current instance
variable spec. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
e3155f4200
Коммит
c5148e0383
|
@ -1,3 +1,8 @@
|
|||
Sat Feb 24 10:46:28 2007 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* test/testunit/test_testcase.rb: catch up with current instance
|
||||
variable spec.
|
||||
|
||||
Sat Feb 24 10:32:59 2007 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* common.mk: change vm_macro.def rule.
|
||||
|
|
|
@ -265,7 +265,7 @@ module Test
|
|||
end
|
||||
|
||||
def check(message, passed)
|
||||
instance_variable_get(:@_result/TestCase).add_assertion
|
||||
@_result.add_assertion
|
||||
if ! passed
|
||||
raise AssertionFailedError.new(message)
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче