mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02: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:
parent
e3155f4200
commit
c5148e0383
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue