summaryrefslogtreecommitdiff
path: root/test/net/http
diff options
context:
space:
mode:
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('/')
}
}