* 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
@ -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>
|
Wed Sep 24 23:39:00 2008 Takeyuki Fujioka <xibbar@ruby-lang.org>
|
||||||
|
|
||||||
* test/cgi/test_cgi_multipart.rb : revert last change.
|
* test/cgi/test_cgi_multipart.rb : revert last change.
|
||||||
|
@ -129,7 +129,7 @@ module Mini
|
|||||||
assert o1.__send__(op, o2), msg
|
assert o1.__send__(op, o2), msg
|
||||||
end
|
end
|
||||||
|
|
||||||
def assert_raises *exp
|
def assert_raise *exp
|
||||||
msg = String === exp.last ? exp.pop : nil
|
msg = String === exp.last ? exp.pop : nil
|
||||||
should_raise = false
|
should_raise = false
|
||||||
begin
|
begin
|
||||||
|
@ -34,7 +34,7 @@ end
|
|||||||
module Test::Unit
|
module Test::Unit
|
||||||
module Assertions # deprecations
|
module Assertions # deprecations
|
||||||
tu_deprecate :assert_nothing_thrown, :assert_nothing_raised # 2009-06-01
|
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_not_equal, :refute_equal # 2009-06-01
|
||||||
tu_deprecate :assert_no_match, :refute_match # 2009-06-01
|
tu_deprecate :assert_no_match, :refute_match # 2009-06-01
|
||||||
tu_deprecate :assert_not_nil, :refute_nil # 2009-06-01
|
tu_deprecate :assert_not_nil, :refute_nil # 2009-06-01
|
||||||
|
Loading…
x
Reference in New Issue
Block a user