mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/mini/test.rb (Mini::Assertions#assert_raise): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4958c965b7
commit
607b1f2787
3 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu Sep 25 01:22:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/mini/test.rb (Mini::Assertions#assert_raise): fixed typo.
|
||||
|
||||
Wed Sep 24 23:39:00 2008 Takeyuki Fujioka <xibbar@ruby-lang.org>
|
||||
|
||||
* test/cgi/test_cgi_multipart.rb : revert last change.
|
||||
|
|
|
@ -129,7 +129,7 @@ module Mini
|
|||
assert o1.__send__(op, o2), msg
|
||||
end
|
||||
|
||||
def assert_raises *exp
|
||||
def assert_raise *exp
|
||||
msg = String === exp.last ? exp.pop : nil
|
||||
should_raise = false
|
||||
begin
|
||||
|
|
|
@ -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_raise, :assert_raises # 2010-06-01
|
||||
tu_deprecate :assert_raises, :assert_raise # 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
|
||||
|
|
Loading…
Reference in a new issue