summaryrefslogtreecommitdiff
path: root/test/xmlrpc
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-03 15:38:44 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-03 15:38:44 +0000
commitc8c02c9cc39444ad89b4ceba09d2ed06f4cff9dc (patch)
treece308b98608758dbf9deb2fa1f9978fd2b79a305 /test/xmlrpc
parent454de1d5eb178ae71397702702fbda4996196f65 (diff)
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
Diffstat (limited to 'test/xmlrpc')
-rw-r--r--test/xmlrpc/test_webrick_server.rb2
-rw-r--r--test/xmlrpc/webrick_testing.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/xmlrpc/test_webrick_server.rb b/test/xmlrpc/test_webrick_server.rb
index e66a467..d3aa9cd 100644
--- a/test/xmlrpc/test_webrick_server.rb
+++ b/test/xmlrpc/test_webrick_server.rb
@@ -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,
}
diff --git a/test/xmlrpc/webrick_testing.rb b/test/xmlrpc/webrick_testing.rb
index b098622..300f690 100644
--- a/test/xmlrpc/webrick_testing.rb
+++ b/test/xmlrpc/webrick_testing.rb
@@ -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 }