summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--lib/test/unit/assertions.rb1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 65df4af971..62c337570d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Dec 22 21:08:54 2008 Tanaka Akira <akr@fsij.org>
+
+ * lib/test/unit/assertions.rb (assert_nothing_raised): increment
+ assertion count. [ruby-dev:37480]
+
Mon Dec 22 19:10:44 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* thread_win32.c (Init_native_thread): need to call
diff --git a/lib/test/unit/assertions.rb b/lib/test/unit/assertions.rb
index 2c1f76e693..af1a23a3bc 100644
--- a/lib/test/unit/assertions.rb
+++ b/lib/test/unit/assertions.rb
@@ -15,6 +15,7 @@ module Test
end
def assert_nothing_raised(*args)
+ self._assertions += 1
if Module === args.last
msg = nil
else