summaryrefslogtreecommitdiff
path: root/test/net/http
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-25 07:41:07 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-25 07:41:07 +0000
commitaced01eeb4b700473032be252f23d937f798bda6 (patch)
tree9400eed2e1cb01884c13d13b0d53fba1db377e26 /test/net/http
parent51438b1c150d225e13f96b2167217e38a441df8d (diff)
Fix r34779. Raised error on connection reset varies on environments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/net/http')
-rw-r--r--test/net/http/test_http.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/http/test_http.rb b/test/net/http/test_http.rb
index e2cfb42670..411791626b 100644
--- a/test/net/http/test_http.rb
+++ b/test/net/http/test_http.rb
@@ -612,7 +612,7 @@ class TestNetHTTPKeepAlive < Test::Unit::TestCase
end
start {|http|
- assert_raises(EOFError) {
+ assert_raises(EOFError,Errno::ECONNRESET) {
res = http.get('/')
}
}