1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

removing empty teardown, cleaning up whitespace errors

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
tenderlove 2010-11-06 21:19:11 +00:00
parent 4032e6d622
commit 37e7bf7619

View file

@ -26,18 +26,15 @@ class OpenSSL::TestOCSP < Test::Unit::TestCase
subj, @key, serial, now, now+3600, [], @ca_cert, nil, dgst) subj, @key, serial, now, now+3600, [], @ca_cert, nil, dgst)
end end
def teardown
end
def test_new_certificate_id def test_new_certificate_id
cid = OpenSSL::OCSP::CertificateId.new(@cert, @ca_cert) 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 assert_equal @cert.serial, cid.serial
end end
def test_new_certificate_id_with_digest def test_new_certificate_id_with_digest
cid = OpenSSL::OCSP::CertificateId.new(@cert, @ca_cert, OpenSSL::Digest::SHA256.new) 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 assert_equal @cert.serial, cid.serial
end end