about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-08-14 22:39:11 -0700
committerEric Wong <normalperson@yhbt.net>2009-08-15 02:38:48 -0700
commit8c2e83f98ec8ba9dd2e02f9579b6b2cdefc1b8af (patch)
tree5310d6e90496b4a978a4e71ec815e93dcae11ef6 /test
parent216308704cfc7a4ff50750822126584b54853bc1 (diff)
downloadunicorn-8c2e83f98ec8ba9dd2e02f9579b6b2cdefc1b8af.tar.gz
ab still sends this with HTTP/1.0 requests, which is
unfortunate, but synthetic benchmarks are good for marketing
purposes!
Diffstat (limited to 'test')
-rw-r--r--test/unit/test_http_parser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/test_http_parser.rb b/test/unit/test_http_parser.rb
index 6cef678..42aa1a3 100644
--- a/test/unit/test_http_parser.rb
+++ b/test/unit/test_http_parser.rb
@@ -79,7 +79,7 @@ class HttpParserTest < Test::Unit::TestCase
     req = {}
     tmp = "GET / HTTP/1.0\r\nConnection: keep-alive\r\n\r\n"
     assert_equal req.object_id, parser.headers(req, tmp).object_id
-    assert ! parser.keepalive?
+    assert parser.keepalive?
   end
 
   def test_parse_server_host_default_port