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_asn1.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_asn1.rb')
-rw-r--r-- | test/openssl/test_asn1.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/openssl/test_asn1.rb b/test/openssl/test_asn1.rb index 9fb5a551c6..8955d72716 100644 --- a/test/openssl/test_asn1.rb +++ b/test/openssl/test_asn1.rb @@ -552,7 +552,7 @@ rEzBQ0F9dUyqQ9gyRg8KHhDfv9HzT1d/rnUZMkoombwYBRIUChGCYV0GnJcan2Zm end def test_primitive_inf_length - assert_raises(OpenSSL::ASN1::ASN1Error) do + assert_raise(OpenSSL::ASN1::ASN1Error) do spec = %w{ 02 80 02 01 01 00 00 } raw = [spec.join('')].pack('H*') OpenSSL::ASN1.decode(raw) |