summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--test/testunit/test_testcase.rb2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 40a0179..f58fd7a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sat Feb 24 10:46:28 2007 Koichi Sasada <ko1@atdot.net>
+
+ * test/testunit/test_testcase.rb: catch up with current instance
+ variable spec.
+
Sat Feb 24 10:32:59 2007 Koichi Sasada <ko1@atdot.net>
* common.mk: change vm_macro.def rule.
diff --git a/test/testunit/test_testcase.rb b/test/testunit/test_testcase.rb
index 4eaac2f..2934a92 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