diff options
Diffstat (limited to 'test/http.rb')
-rw-r--r-- | test/http.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/http.rb b/test/http.rb index b296ffa..c847046 100644 --- a/test/http.rb +++ b/test/http.rb @@ -184,7 +184,7 @@ class TestHTTP < Test::Unit::TestCase nr.times { @client.write(req2) } @client.write("GET /dev666/test HTTP/1.0\r\n\r\n") all = thr.value - assert_equal((nr * 2) + 1, all.split(/\r\n/).grep(/Status:/).size); + assert_equal((nr * 2) + 1, all.split(/\r\n/).grep(%r{^HTTP\/}).size); end def test_garbage |