diff options
Diffstat (limited to 'lib/test/unit/assertions.rb')
-rw-r--r-- | lib/test/unit/assertions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test/unit/assertions.rb b/lib/test/unit/assertions.rb index 6c29b78096..ee973dc58e 100644 --- a/lib/test/unit/assertions.rb +++ b/lib/test/unit/assertions.rb @@ -40,7 +40,7 @@ module Test::Unit tu_deprecate :assert_not_nil, :refute_nil # 2009-06-01 tu_deprecate :assert_not_same, :refute_same # 2009-06-01 - def assert_nothing_raised _ = :ignored # 2009-06-01 + def assert_nothing_raised _ = :ignored, msg = nil # 2009-06-01 self.class.tu_deprecation_warning :assert_nothing_raised self._assertions += 1 yield |