diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-24 01:49:43 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-24 01:49:43 +0000 |
commit | c5148e038316b3351b4c831773b83e08c11c20fb (patch) | |
tree | 82a51fd6e03842b77bd3aacfb4817dfa7359c8a2 /test/testunit/test_testcase.rb | |
parent | e3155f4200b3567b323d788c15031004ccc71b7d (diff) | |
download | ruby-c5148e038316b3351b4c831773b83e08c11c20fb.tar.gz |
* 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
Diffstat (limited to 'test/testunit/test_testcase.rb')
-rw-r--r-- | test/testunit/test_testcase.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testunit/test_testcase.rb b/test/testunit/test_testcase.rb index 4eaac2f3f2..2934a92fef 100644 --- a/test/testunit/test_testcase.rb +++ b/test/testunit/test_testcase.rb @@ -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 |