ruby-changes:17699
From: tenderlove <ko1@a...>
Date: Sun, 7 Nov 2010 06:19:18 +0900 (JST)
Subject: [ruby-changes:17699] Ruby:r29709 (trunk): removing empty teardown, cleaning up whitespace errors
tenderlove 2010-11-07 06:19:11 +0900 (Sun, 07 Nov 2010) New Revision: 29709 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=29709 Log: removing empty teardown, cleaning up whitespace errors Modified files: trunk/test/openssl/test_ocsp.rb Index: test/openssl/test_ocsp.rb =================================================================== --- test/openssl/test_ocsp.rb (revision 29708) +++ test/openssl/test_ocsp.rb (revision 29709) @@ -26,18 +26,15 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/