diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-06-06 09:01:04 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-06-06 09:01:04 +0000 |
commit | 8e37f17671848859c6c9749a19909c3fd0d133aa (patch) | |
tree | 1d8c0a0cb34f8e102b4e86f6bddc55a56072d570 /test | |
parent | 685fdbe64cef960abae645714a94b8a6d80f476c (diff) | |
download | ruby-8e37f17671848859c6c9749a19909c3fd0d133aa.tar.gz |
Add Net::HTTPClientException [Bug #14688]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/net/http/test_httpresponse.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/http/test_httpresponse.rb b/test/net/http/test_httpresponse.rb index d99c3611c5..29c38b2bc0 100644 --- a/test/net/http/test_httpresponse.rb +++ b/test/net/http/test_httpresponse.rb @@ -422,7 +422,7 @@ EOS res = Net::HTTPResponse.read_new(io) assert_equal(nil, res.message) - assert_raise Net::HTTPServerException do + assert_raise Net::HTTPClientException do res.error! end end |