mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
391ac60146
commit
927ca6d776
2 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
Sat May 22 21:54:58 2010 URABE Shyouhei <shyouhei@ruby-lang.org>
|
||||
|
||||
* test/net/http/test_connection.rb (TestHTTP::HTTPConnectionTest#test_connection_refused_in_request):
|
||||
Wrong exception to assert.
|
||||
|
||||
Sat May 22 21:03:16 2010 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* io.c (rb_io_modenum_mode): return "r" for O_RDONLY|O_APPEND.
|
||||
|
|
|
|||
|
|
@ -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('/')
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue