* 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

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