summaryrefslogtreecommitdiff
path: root/test/openssl
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-06 21:19:11 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-06 21:19:11 +0000
commit37e7bf7619f61b1a523652bbc8033a55daa7be0e (patch)
tree11b11dc7ddeefbfc2447becf2d7a5c779a69023b /test/openssl
parent4032e6d62268bfb35d9fd7d6b0bb5028ba149c61 (diff)
removing empty teardown, cleaning up whitespace errors
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/openssl')
-rw-r--r--test/openssl/test_ocsp.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/openssl/test_ocsp.rb b/test/openssl/test_ocsp.rb
index c2bd155a18..98e1ebbf1b 100644
--- a/test/openssl/test_ocsp.rb
+++ b/test/openssl/test_ocsp.rb
@@ -26,18 +26,15 @@ class OpenSSL::TestOCSP < Test::Unit::TestCase
subj, @key, serial, now, now+3600, [], @ca_cert, nil, dgst)
end
- def teardown
- end
-
def test_new_certificate_id
cid = OpenSSL::OCSP::CertificateId.new(@cert, @ca_cert)
- assert_kind_of OpenSSL::OCSP::CertificateId, cid
+ assert_kind_of OpenSSL::OCSP::CertificateId, cid
assert_equal @cert.serial, cid.serial
end
def test_new_certificate_id_with_digest
cid = OpenSSL::OCSP::CertificateId.new(@cert, @ca_cert, OpenSSL::Digest::SHA256.new)
- assert_kind_of OpenSSL::OCSP::CertificateId, cid
+ assert_kind_of OpenSSL::OCSP::CertificateId, cid
assert_equal @cert.serial, cid.serial
end