about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
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