summaryrefslogtreecommitdiffstats
path: root/test/openssl/test_ec.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-24 17:44:39 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-24 17:44:39 +0000
commit3454e2b989d541a1b6dfa0e5f6432cce17cc16d7 (patch)
treeb57bc2afea00aa87978f691526dd7adc1b8a067d /test/openssl/test_ec.rb
parent67f7cf01b9a126710761dd1f7e3c7a96e74ce621 (diff)
downloadruby-3454e2b989d541a1b6dfa0e5f6432cce17cc16d7.tar.gz
ruby-3454e2b989d541a1b6dfa0e5f6432cce17cc16d7.tar.xz
ruby-3454e2b989d541a1b6dfa0e5f6432cce17cc16d7.zip
* test: assert_raises has been deprecated since a long time ago.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/openssl/test_ec.rb')
-rw-r--r--test/openssl/test_ec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/openssl/test_ec.rb b/test/openssl/test_ec.rb
index 671901ca3..66dbf54b4 100644
--- a/test/openssl/test_ec.rb
+++ b/test/openssl/test_ec.rb
@@ -89,7 +89,7 @@ class OpenSSL::TestEC < Test::Unit::TestCase
sig = key.dsa_sign_asn1(@data1)
assert_equal(key.dsa_verify_asn1(@data1, sig), true)
- assert_raises(OpenSSL::PKey::ECError) { key.dsa_sign_asn1(@data2) }
+ assert_raise(OpenSSL::PKey::ECError) { key.dsa_sign_asn1(@data2) }
end
end