skip test if openssl is not available.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2005-06-07 02:49:16 +00:00
parent b12b406e98
commit 261f8e0f73

View File

@ -1,4 +1,7 @@
require 'net/https'
begin
require 'net/https'
rescue LoadError
end
require 'test/unit'
class HTTPSProxyTest < Test::Unit::TestCase
@ -23,5 +26,5 @@ class HTTPSProxyTest < Test::Unit::TestCase
"[ruby-dev:25673]")
}
end
end
end if defined?(OpenSSL)