mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix test for r29617.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a671a06d25
commit
dde59a7cd4
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ class TestWEBrickHTTPRequest < Test::Unit::TestCase
|
||||||
|
|
||||||
def test_request_uri_too_large
|
def test_request_uri_too_large
|
||||||
msg = <<-_end_of_message_
|
msg = <<-_end_of_message_
|
||||||
GET /#{"a"*1024} HTTP/1.1
|
GET /#{"a"*2084} HTTP/1.1
|
||||||
_end_of_message_
|
_end_of_message_
|
||||||
req = WEBrick::HTTPRequest.new(WEBrick::Config::HTTP)
|
req = WEBrick::HTTPRequest.new(WEBrick::Config::HTTP)
|
||||||
assert_raise(WEBrick::HTTPStatus::RequestURITooLarge){
|
assert_raise(WEBrick::HTTPStatus::RequestURITooLarge){
|
||||||
|
|
Loading…
Reference in a new issue