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:
parent
b12b406e98
commit
261f8e0f73
@ -1,4 +1,7 @@
|
|||||||
require 'net/https'
|
begin
|
||||||
|
require 'net/https'
|
||||||
|
rescue LoadError
|
||||||
|
end
|
||||||
require 'test/unit'
|
require 'test/unit'
|
||||||
|
|
||||||
class HTTPSProxyTest < Test::Unit::TestCase
|
class HTTPSProxyTest < Test::Unit::TestCase
|
||||||
@ -23,5 +26,5 @@ class HTTPSProxyTest < Test::Unit::TestCase
|
|||||||
"[ruby-dev:25673]")
|
"[ruby-dev:25673]")
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
end
|
end if defined?(OpenSSL)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user