summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authortenderlove <tenderlove@ruby-lang.org>2010-11-15 02:46:55 +0000
committertenderlove <tenderlove@ruby-lang.org>2010-11-15 02:46:55 +0000
commite6e007f528ecd1b9b9ce240f7885e28a66b57c46 (patch)
tree71f60a6c376c56bb554f84a23849cf9afdbeb804 /test
parent51d7fabf724fa73b89f87b243369cd9f4f6b9ea1 (diff)
downloadruby-openssl-history-e6e007f528ecd1b9b9ce240f7885e28a66b57c46.tar.gz
making ssl test a little better
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/test_ssl.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_ssl.rb b/test/test_ssl.rb
index 5051c63..4907c81 100644
--- a/test/test_ssl.rb
+++ b/test/test_ssl.rb
@@ -162,7 +162,7 @@ class OpenSSL::TestSSL < Test::Unit::TestCase
def test_not_started_session
open(__FILE__) do |f|
- OpenSSL::SSL::SSLSocket.new(f).cert
+ assert_nil OpenSSL::SSL::SSLSocket.new(f).cert
end
end