summaryrefslogtreecommitdiff
path: root/test/webrick
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-06 03:56:38 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-06 03:56:38 +0000
commit287a34ae0dfc23e4158f67cb7783d239f202c368 (patch)
tree5e35d5b41aae961b37cf6632f60c42f51c7aa775 /test/webrick
parent9b52ae2e6491bb5d6c59e1799449f6268baf6f89 (diff)
* {ext,lib,test}/**/*.rb: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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_