1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Not a typo. The name is better plural. Better English and more consistent with the other assertions.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ryan 2008-09-25 07:34:49 +00:00
parent ea94d40f4a
commit 7ab330203a
2 changed files with 2 additions and 2 deletions

View file

@ -129,7 +129,7 @@ module Mini
assert o1.__send__(op, o2), msg
end
def assert_raise *exp
def assert_raises *exp
msg = String === exp.last ? exp.pop : nil
should_raise = false
begin

View file

@ -34,7 +34,7 @@ end
module Test::Unit
module Assertions # deprecations
tu_deprecate :assert_nothing_thrown, :assert_nothing_raised # 2009-06-01
tu_deprecate :assert_raises, :assert_raise # 2010-06-01
tu_deprecate :assert_raise, :assert_raises # 2010-06-01
tu_deprecate :assert_not_equal, :refute_equal # 2009-06-01
tu_deprecate :assert_no_match, :refute_match # 2009-06-01
tu_deprecate :assert_not_nil, :refute_nil # 2009-06-01