Permalink
Browse files

* test/net/http/test_connection.rb (TestHTTP::HTTPConnectionTest#tes…

…t_connection_refused_in_request):

          Wrong exception to assert.


git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@27958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
1 parent 906f096 commit 8046a04f0c058d1bc86949d86e695e1563457f86 @shyouhei shyouhei committed May 22, 2010
Showing with 6 additions and 1 deletion.
  1. +5 −0 ChangeLog
  2. +1 −1 test/net/http/test_connection.rb
View
@@ -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 @@ def test_connection_refused_in_request
}
begin
sleep 0.1 until port
- assert_raise(Errno::ECONNRESET, bug2708) {
+ assert_raise(EOFError, bug2708) {
n = Net::HTTP.new(localhost, port)
n.request_get('/')
}

0 comments on commit 8046a04

Please sign in to comment.