diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-02-25 07:41:07 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-02-25 07:41:07 +0000 |
commit | aced01eeb4b700473032be252f23d937f798bda6 (patch) | |
tree | 9400eed2e1cb01884c13d13b0d53fba1db377e26 /test/net | |
parent | 51438b1c150d225e13f96b2167217e38a441df8d (diff) | |
download | ruby-aced01eeb4b700473032be252f23d937f798bda6.tar.gz |
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')
-rw-r--r-- | test/net/http/test_http.rb | 2 |
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('/') } } |