Skip to content

Commit

Permalink
* test/testunit/test_testcase.rb: catch up with current instance
Browse files Browse the repository at this point in the history
  variable spec.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
ko1 committed Feb 24, 2007
1 parent e3155f4 commit c5148e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Sat Feb 24 10:46:28 2007 Koichi Sasada <[email protected]>

* test/testunit/test_testcase.rb: catch up with current instance
variable spec.

Sat Feb 24 10:32:59 2007 Koichi Sasada <[email protected]>

* common.mk: change vm_macro.def rule.
Expand Down
2 changes: 1 addition & 1 deletion test/testunit/test_testcase.rb
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def test_1
end

def check(message, passed)
instance_variable_get(:@_result/TestCase).add_assertion
@_result.add_assertion
if ! passed
raise AssertionFailedError.new(message)
end
Expand Down

0 comments on commit c5148e0

Please sign in to comment.