1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
naruse 2012-02-25 07:41:07 +00:00
parent 51438b1c15
commit aced01eeb4

View file

@ -612,7 +612,7 @@ class TestNetHTTPKeepAlive < Test::Unit::TestCase
end
start {|http|
assert_raises(EOFError) {
assert_raises(EOFError,Errno::ECONNRESET) {
res = http.get('/')
}
}