1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

skip test if openssl is not available.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2005-06-07 02:49:16 +00:00
parent 8168978bf3
commit 8252769f75

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)