diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-05-13 17:47:23 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-05-13 17:47:23 +0000 |
commit | e900cdc15772f7b2cab4d9fb72de8aee963d260f (patch) | |
tree | 3037e8138bab77cdf48486e5b6745c6f458eeeca | |
parent | 3d671b369102788a07e6d8865433d6175f86cd5a (diff) | |
download | unicorn-e900cdc15772f7b2cab4d9fb72de8aee963d260f.tar.gz |
Must have multiple headers to test this effectively
-rw-r--r-- | test/unit/test_response.rb | 2 |
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)" |