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:
parent
8168978bf3
commit
8252769f75
1 changed files with 5 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue