mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* {ext,lib,test}/**/*.rb: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c89882197e
commit
75c1cac7f3
442 changed files with 4654 additions and 4654 deletions
|
@ -18,9 +18,9 @@ class Test_Webrick < Test::Unit::TestCase
|
|||
if b == 0
|
||||
raise XMLRPC::FaultException.new(1, "division by zero")
|
||||
else
|
||||
a / b
|
||||
a / b
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
s.set_default_handler do |name, *args|
|
||||
raise XMLRPC::FaultException.new(-99, "Method #{name} missing" +
|
||||
|
@ -34,13 +34,13 @@ class Test_Webrick < Test::Unit::TestCase
|
|||
|
||||
def setup_http_server(port, use_ssl)
|
||||
option = {
|
||||
:Port => port,
|
||||
:Port => port,
|
||||
:SSLEnable => use_ssl,
|
||||
}
|
||||
if use_ssl
|
||||
require 'webrick/https'
|
||||
option.update(
|
||||
:SSLVerifyClient => ::OpenSSL::SSL::VERIFY_NONE,
|
||||
:SSLVerifyClient => ::OpenSSL::SSL::VERIFY_NONE,
|
||||
:SSLCertName => []
|
||||
)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue