aboutsummaryrefslogtreecommitdiffstats
path: root/test/webrick
diff options
context:
space:
mode:
Diffstat (limited to 'test/webrick')
-rw-r--r--test/webrick/test_cookie.rb2
-rw-r--r--test/webrick/test_httpauth.rb2
-rw-r--r--test/webrick/test_httpproxy.rb4
-rw-r--r--test/webrick/test_httprequest.rb2
4 files changed, 5 insertions, 5 deletions
diff --git a/test/webrick/test_cookie.rb b/test/webrick/test_cookie.rb
index c8ded4c2dd..14771fd01c 100644
--- a/test/webrick/test_cookie.rb
+++ b/test/webrick/test_cookie.rb
@@ -61,7 +61,7 @@ class TestWEBrickCookie < Test::Unit::TestCase
assert_equal("WILE_E_COYOTE", cookie.value)
assert_equal(1, cookie.version)
assert_equal("/acme", cookie.path)
-
+
data = %(Shipping="FedEx"; Version="1"; Path="/acme"; Secure)
cookie = WEBrick::Cookie.parse_set_cookie(data)
assert_equal("Shipping", cookie.name)
diff --git a/test/webrick/test_httpauth.rb b/test/webrick/test_httpauth.rb
index a6e29474b3..56f96235f1 100644
--- a/test/webrick/test_httpauth.rb
+++ b/test/webrick/test_httpauth.rb
@@ -14,7 +14,7 @@ class TestWEBrickHTTPAuth < Test::Unit::TestCase
server.mount_proc(path){|req, res|
WEBrick::HTTPAuth.basic_auth(req, res, realm){|user, pass|
user == "webrick" && pass == "supersecretpassword"
- }
+ }
res.body = "hoge"
}
http = Net::HTTP.new(addr, port)
diff --git a/test/webrick/test_httpproxy.rb b/test/webrick/test_httpproxy.rb
index 1f914e3a99..ab82ed8cd7 100644
--- a/test/webrick/test_httpproxy.rb
+++ b/test/webrick/test_httpproxy.rb
@@ -25,7 +25,7 @@ class TestWEBrickHTTPProxy < Test::Unit::TestCase
# Testing GET or POST to the proxy server
# Note that the proxy server works as the origin server.
# +------+
- # V |
+ # V |
# client -------> proxy ---+
# GET / POST GET / POST
#
@@ -176,7 +176,7 @@ class TestWEBrickHTTPProxy < Test::Unit::TestCase
# Testing GET or POST through the upstream proxy server
# Note that the upstream proxy server works as the origin server.
# +------+
- # V |
+ # V |
# client -------> proxy -------> proxy ---+
# GET / POST GET / POST GET / POST
#
diff --git a/test/webrick/test_httprequest.rb b/test/webrick/test_httprequest.rb
index 92ad1e79ca..4a1db38bca 100644
--- a/test/webrick/test_httprequest.rb
+++ b/test/webrick/test_httprequest.rb
@@ -79,7 +79,7 @@ class TestWEBrickHTTPRequest < Test::Unit::TestCase
Accept-Language: ja
Content-Type: text/plain
Content-Length: 7
- X-Empty-Header:
+ X-Empty-Header:
foobar
_end_of_message_