diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-15 11:55:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-15 11:55:52 +0000 |
commit | 3a47cf3395dd4c4fe8bdd5df13aab698f2ca314b (patch) | |
tree | c4a278220ba8141b829c5c7b0777c1049cfe413c /test/openssl | |
parent | 39da1b63699faf30c86e753e193c29b81b16136d (diff) |
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/openssl')
-rw-r--r-- | test/openssl/test_asn1.rb | 4 | ||||
-rw-r--r-- | test/openssl/test_x509cert.rb | 4 | ||||
-rw-r--r-- | test/openssl/test_x509crl.rb | 4 | ||||
-rw-r--r-- | test/openssl/test_x509req.rb | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/test/openssl/test_asn1.rb b/test/openssl/test_asn1.rb index 4fd4771d7b..62d0eb476d 100644 --- a/test/openssl/test_asn1.rb +++ b/test/openssl/test_asn1.rb @@ -429,7 +429,7 @@ class OpenSSL::TestASN1 < Test::Unit::TestCase assert_equal(raw, OpenSSL::ASN1.decode(raw).to_der) end end - + def test_primitive_inf_length assert_raises(OpenSSL::ASN1::ASN1Error) do spec = %w{ 02 80 02 01 01 00 00 } @@ -438,6 +438,6 @@ class OpenSSL::TestASN1 < Test::Unit::TestCase OpenSSL::ASN1.decode_all(raw) end end - + end if defined?(OpenSSL) diff --git a/test/openssl/test_x509cert.rb b/test/openssl/test_x509cert.rb index 786eebb368..6d39c9690d 100644 --- a/test/openssl/test_x509cert.rb +++ b/test/openssl/test_x509cert.rb @@ -170,9 +170,9 @@ class OpenSSL::TestX509Certificate < Test::Unit::TestCase nil, nil, OpenSSL::Digest::MD5.new) } end - + private - + def certificate_error_returns_false yield rescue OpenSSL::X509::CertificateError diff --git a/test/openssl/test_x509crl.rb b/test/openssl/test_x509crl.rb index c0c996e966..56508e0a12 100644 --- a/test/openssl/test_x509crl.rb +++ b/test/openssl/test_x509crl.rb @@ -208,9 +208,9 @@ class OpenSSL::TestX509CRL < Test::Unit::TestCase crl.version = 0 assert_equal(false, crl.verify(@dsa512)) end - + private - + def crl_error_returns_false yield rescue OpenSSL::X509::CRLError diff --git a/test/openssl/test_x509req.rb b/test/openssl/test_x509req.rb index 1b660ca051..882a1d7356 100644 --- a/test/openssl/test_x509req.rb +++ b/test/openssl/test_x509req.rb @@ -137,9 +137,9 @@ class OpenSSL::TestX509Request < Test::Unit::TestCase assert_raise(OpenSSL::X509::RequestError){ issue_csr(0, @dn, @dsa512, OpenSSL::Digest::MD5.new) } end - + private - + def request_error_returns_false yield rescue OpenSSL::X509::RequestError |