about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/unit/test_http_parser_ng.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unit/test_http_parser_ng.rb b/test/unit/test_http_parser_ng.rb
index 9b86cd3..6b9c89d 100644
--- a/test/unit/test_http_parser_ng.rb
+++ b/test/unit/test_http_parser_ng.rb
@@ -21,6 +21,7 @@ class HttpParserNgTest < Test::Unit::TestCase
     assert_equal '123', req['CONTENT_LENGTH']
     assert_equal 0, str.size
     assert ! @parser.keepalive?
+    assert @parser.headers?
   end
 
   def test_identity_oneshot_header
@@ -299,6 +300,7 @@ class HttpParserNgTest < Test::Unit::TestCase
       "QUERY_STRING"=>""
     }
     assert_equal expect, req
+    assert ! parser.headers?
   end
 
 end