about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
authorEvan Weaver <eweaver@twitter.com>2009-01-31 21:40:40 -0800
committerEvan Weaver <eweaver@twitter.com>2009-01-31 21:40:40 -0800
commitd426c68c11d5733dd4462caafe92b28f436f30e7 (patch)
tree659c33e6abd2cebe4bd544996d36e9c58f83b0e4 /test
parentcf4717de742266b4e62ad8bf075c6de974a73267 (diff)
downloadunicorn-d426c68c11d5733dd4462caafe92b28f436f30e7.tar.gz
Diffstat (limited to 'test')
-rw-r--r--test/unit/test_http_parser.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/test/unit/test_http_parser.rb b/test/unit/test_http_parser.rb
index c89cd0d..91482cd 100644
--- a/test/unit/test_http_parser.rb
+++ b/test/unit/test_http_parser.rb
@@ -157,22 +157,5 @@ class HttpParserTest < Test::Unit::TestCase
     end
 
   end
-
-
-
-  def test_query_parse
-    res = HttpRequest.query_parse("zed=1&frank=#{HttpRequest.escape('&&& ')}")
-    assert res["zed"], "didn't get the request right"
-    assert res["frank"], "no frank"
-    assert_equal "1", res["zed"], "wrong result"
-    assert_equal "&&& ", HttpRequest.unescape(res["frank"]), "wrong result"
-
-    res = HttpRequest.query_parse("zed=1&zed=2&zed=3&frank=11;zed=45")
-    assert res["zed"], "didn't get the request right"
-    assert res["frank"], "no frank"
-    assert_equal 4,res["zed"].length, "wrong number for zed"
-    assert_equal "11",res["frank"], "wrong number for frank"
-  end
-  
 end