summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-05-13 17:47:23 +0000
committerEric Wong <normalperson@yhbt.net>2009-05-22 01:54:21 -0700
commit87a27a9c0d59df291b1ce4dbce2c6eb4dbf26709 (patch)
treed9090a5f43268e9d467e123aa6f2a8b930a6087d
parent96122dbcabe96ef0b278c9b5f575ede34d54656a (diff)
Must have multiple headers to test this effectively
-rw-r--r--test/unit/test_response.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/test_response.rb b/test/unit/test_response.rb
index 644a2a7..66c2b54 100644
--- a/test/unit/test_response.rb
+++ b/test/unit/test_response.rb
@@ -30,7 +30,7 @@ class ResponseTest < Test::Unit::TestCase
     old_ofs = $,
     $, = "\f\v"
     out = StringIO.new
-    HttpResponse.write(out,[200, {"X-Whatever" => "stuff"}, ["cool"]])
+    HttpResponse.write(out,[200, {"X-k" => "cd","X-y" => "z"}, ["cool"]])
     assert out.closed?
     resp = out.string
     assert ! resp.include?("\f\v"), "output didn't use $, ($OFS)"