summaryrefslogtreecommitdiff
path: root/test/openssl/test_x509name.rb
diff options
context:
space:
mode:
authoremboss <emboss@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-09-03 22:54:12 +0000
committeremboss <emboss@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-09-03 22:54:12 +0000
commit4bb125f91a1df7d5252b1dd1f59c1ce0238e0192 (patch)
treee1dd5082f2e1c74a2fc13cda5f29c2ba8e4b62ff /test/openssl/test_x509name.rb
parentb6c38f675356cf6da84e35c8a9ed57922130e580 (diff)
* test/openssl/test_asn1_rb:
test/openssl/test_ssl_session.rb: test/openssl/test_x509name.rb: test/openssl/test_buffering.rb: test/openssl/test_x509cert.rb: test/openssl/test_ssl.rb: Refactor code that leads to warnings on Ruby CI. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/openssl/test_x509name.rb')
-rw-r--r--test/openssl/test_x509name.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/openssl/test_x509name.rb b/test/openssl/test_x509name.rb
index 90c09929ce..0a223438ba 100644
--- a/test/openssl/test_x509name.rb
+++ b/test/openssl/test_x509name.rb
@@ -339,7 +339,7 @@ class OpenSSL::TestX509Name < Test::Unit::TestCase
n1 = OpenSSL::X509::Name.parse 'CN=a'
n2 = OpenSSL::X509::Name.parse 'CN=b'
- assert_equal -1, n1 <=> n2
+ assert_equal(-1, n1 <=> n2)
end
def name_hash(name)