diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-22 13:11:41 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-22 13:11:41 +0000 |
commit | 927ca6d776cdd9e3a57635512942ba9dfd5beeb0 (patch) | |
tree | 1f4e91e6f8ebedbc2a668918cd9b3ce326aafe02 /test | |
parent | 391ac60146c261010f6060aa7376492f3ba94e0d (diff) |
* test/net/http/test_connection.rb (TestHTTP::HTTPConnectionTest#test_connection_refused_in_request):
Wrong exception to assert.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@27958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/net/http/test_connection.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/http/test_connection.rb b/test/net/http/test_connection.rb index d5610ce1d8..4453b83f7a 100644 --- a/test/net/http/test_connection.rb +++ b/test/net/http/test_connection.rb @@ -17,7 +17,7 @@ module TestHTTP } begin sleep 0.1 until port - assert_raise(Errno::ECONNRESET, bug2708) { + assert_raise(EOFError, bug2708) { n = Net::HTTP.new(localhost, port) n.request_get('/') } |