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

* 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:
ko1 2007-02-24 01:49:43 +00:00
parent e3155f4200
commit c5148e0383
2 changed files with 6 additions and 1 deletions

View file

@ -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.

View file

@ -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