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:
nahi 2011-08-03 15:38:44 +00:00
parent 454de1d5eb
commit c8c02c9cc3
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ class Test_Webrick < Test::Unit::TestCase
def setup_http_server(port, use_ssl) def setup_http_server(port, use_ssl)
option = { option = {
BindAddress: "localhost", :BindAddress => "localhost",
:Port => port, :Port => port,
:SSLEnable => use_ssl, :SSLEnable => use_ssl,
} }

View File

@ -13,7 +13,7 @@ module WEBrick_Testing
@__server_thread = Thread.new { @__server_thread = Thread.new {
@__server = WEBrick::HTTPServer.new( @__server = WEBrick::HTTPServer.new(
{ {
BindAddress: "localhost", :BindAddress => "localhost",
:Logger => DummyLog.new, :Logger => DummyLog.new,
:AccessLog => [], :AccessLog => [],
:StartCallback => proc { @__started = true } :StartCallback => proc { @__started = true }