diff --git a/ChangeLog b/ChangeLog index 40a01792c679c5..f58fd7af76d7cf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Feb 24 10:46:28 2007 Koichi Sasada + + * test/testunit/test_testcase.rb: catch up with current instance + variable spec. + Sat Feb 24 10:32:59 2007 Koichi Sasada * common.mk: change vm_macro.def rule. diff --git a/test/testunit/test_testcase.rb b/test/testunit/test_testcase.rb index 4eaac2f3f2c406..2934a92fefaa67 100644 --- a/test/testunit/test_testcase.rb +++ b/test/testunit/test_testcase.rb @@ -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