mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test: assert_raises has been deprecated since a long time ago.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
48fdf59dcf
commit
00b4a3f9c4
59 changed files with 284 additions and 284 deletions
|
@ -65,7 +65,7 @@ class OpenSSL::TestCipher < Test::Unit::TestCase
|
|||
|
||||
def test_empty_data
|
||||
@c1.encrypt
|
||||
assert_raises(ArgumentError){ @c1.update("") }
|
||||
assert_raise(ArgumentError){ @c1.update("") }
|
||||
end
|
||||
|
||||
if OpenSSL::OPENSSL_VERSION_NUMBER > 0x00907000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue