зеркало из https://github.com/github/ruby.git
Cosmetic change of Hash literal.
'BindAddress: var' => ':BindAddress => var' according to other configurations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
454de1d5eb
Коммит
c8c02c9cc3
|
@ -46,7 +46,7 @@ class Test_Webrick < Test::Unit::TestCase
|
|||
|
||||
def setup_http_server(port, use_ssl)
|
||||
option = {
|
||||
BindAddress: "localhost",
|
||||
:BindAddress => "localhost",
|
||||
:Port => port,
|
||||
:SSLEnable => use_ssl,
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@ module WEBrick_Testing
|
|||
@__server_thread = Thread.new {
|
||||
@__server = WEBrick::HTTPServer.new(
|
||||
{
|
||||
BindAddress: "localhost",
|
||||
:BindAddress => "localhost",
|
||||
:Logger => DummyLog.new,
|
||||
:AccessLog => [],
|
||||
:StartCallback => proc { @__started = true }
|
||||
|
|
Загрузка…
Ссылка в новой задаче