diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-06 03:56:38 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-06 03:56:38 +0000 |
| commit | d17d1b111341f2c8979cf8fbd63ec7ec9db7c3ad (patch) | |
| tree | 5e35d5b41aae961b37cf6632f60c42f51c7aa775 /test/webrick | |
| parent | 101e79d7b434c01c0e6f4bcc480003858ab8e1a4 (diff) | |
| download | ruby-d17d1b111341f2c8979cf8fbd63ec7ec9db7c3ad.tar.gz ruby-d17d1b111341f2c8979cf8fbd63ec7ec9db7c3ad.tar.xz ruby-d17d1b111341f2c8979cf8fbd63ec7ec9db7c3ad.zip | |
* {ext,lib,test}/**/*.rb: removed trailing spaces.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/webrick')
| -rw-r--r-- | test/webrick/test_cookie.rb | 2 | ||||
| -rw-r--r-- | test/webrick/test_httpauth.rb | 2 | ||||
| -rw-r--r-- | test/webrick/test_httpproxy.rb | 4 | ||||
| -rw-r--r-- | test/webrick/test_httprequest.rb | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/test/webrick/test_cookie.rb b/test/webrick/test_cookie.rb index c8ded4c2d..14771fd01 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 a6e29474b..56f96235f 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 1f914e3a9..ab82ed8cd 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 92ad1e79c..4a1db38bc 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_ |
