diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-02 02:18:44 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-02 02:18:44 +0000 |
commit | bfb7e27fe2b73e054d0382990ceef7189de71d28 (patch) | |
tree | 6b64fce04b19a8e1531f60a7d3d47c8a9fc97a20 /test/openssl/test_pkcs12.rb | |
parent | 130a077f74031a16430ec8b20955b9e57f75397c (diff) | |
download | ruby-bfb7e27fe2b73e054d0382990ceef7189de71d28.tar.gz |
use assert_raise
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/openssl/test_pkcs12.rb')
-rw-r--r-- | test/openssl/test_pkcs12.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/openssl/test_pkcs12.rb b/test/openssl/test_pkcs12.rb index 4e37904169..c44cee00ed 100644 --- a/test/openssl/test_pkcs12.rb +++ b/test/openssl/test_pkcs12.rb @@ -113,7 +113,7 @@ Li8JsX5yIiuVYaBg/6ha3tOg4TCa5K/3r3tVliRZ2Es= end def test_create_with_bad_nid - assert_raises(ArgumentError) do + assert_raise(ArgumentError) do OpenSSL::PKCS12.create( "omg", "hello", @@ -137,7 +137,7 @@ Li8JsX5yIiuVYaBg/6ha3tOg4TCa5K/3r3tVliRZ2Es= 2048 ) - assert_raises(TypeError) do + assert_raise(TypeError) do OpenSSL::PKCS12.create( "omg", "hello", @@ -164,7 +164,7 @@ Li8JsX5yIiuVYaBg/6ha3tOg4TCa5K/3r3tVliRZ2Es= 2048 ) - assert_raises(TypeError) do + assert_raise(TypeError) do OpenSSL::PKCS12.create( "omg", "hello", |