about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
authorevanweaver <evanweaver@19e92222-5c0b-0410-8929-a290d50e31e9>2007-10-27 08:48:53 +0000
committerevanweaver <evanweaver@19e92222-5c0b-0410-8929-a290d50e31e9>2007-10-27 08:48:53 +0000
commit7c2b31b577375a79a1d9ca8552eac5689de18442 (patch)
tree5c392e7b8694f9478c9397b665c3486177fbabfc /test
parentb572644287e92dd06f72ab5d72fdf4db97534a81 (diff)
downloadunicorn-7c2b31b577375a79a1d9ca8552eac5689de18442.tar.gz
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@794 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'test')
-rw-r--r--test/test_ws.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_ws.rb b/test/test_ws.rb
index 24a807d..f019122 100644
--- a/test/test_ws.rb
+++ b/test/test_ws.rb
@@ -86,7 +86,7 @@ class WebServerTest < Test::Unit::TestCase
   def test_header_is_too_long
     redirect_test_io do
       long = "GET /test HTTP/1.1\r\n" + ("X-Big: stuff\r\n" * 15000) + "\r\n"
-      assert_raises Errno::ECONNRESET, Errno::EPIPE, Errno::ECONNABORTED, Errno::EINVAL do
+      assert_raises Errno::ECONNRESET, Errno::EPIPE, Errno::ECONNABORTED, Errno::EINVAL, IOError do
         do_test(long, long.length/2, 10)
       end
     end