summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-11-11 01:09:40 +0000
committerEric Wong <e@80x24.org>2017-02-13 20:59:02 +0000
commit69fd4f9bbff3708166fbf70163fa6e192dde1497 (patch)
tree9b0338c95676c908d08c583115a87963c93dce73
parenta814858366f4ceab4ebe783be35e523efe9798b4 (diff)
-rw-r--r--test/unit/test_http_parser_ng.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/unit/test_http_parser_ng.rb b/test/unit/test_http_parser_ng.rb
index d186f5a..9300c57 100644
--- a/test/unit/test_http_parser_ng.rb
+++ b/test/unit/test_http_parser_ng.rb
@@ -21,28 +21,14 @@ class HttpParserNgTest < Test::Unit::TestCase
     r = "GET / HTTP/1.1\r\nHost: example.com\r\n\r\n"
     @parser.buf << r
     @parser.parse
-    @parser.response_start_sent = true
     assert @parser.keepalive?
     assert @parser.next?
-    assert @parser.response_start_sent
 
     # persistent client makes another request:
     @parser.buf << r
     @parser.parse
     assert @parser.keepalive?
     assert @parser.next?
-    assert_equal false, @parser.response_start_sent
-  end
-
-  def test_response_start_sent
-    assert_equal false, @parser.response_start_sent, "default is false"
-    @parser.response_start_sent = true
-    assert_equal true, @parser.response_start_sent
-    @parser.response_start_sent = false
-    assert_equal false, @parser.response_start_sent
-    @parser.response_start_sent = true
-    @parser.clear
-    assert_equal false, @parser.response_start_sent
   end
 
   def test_connection_TE