From 87a27a9c0d59df291b1ce4dbce2c6eb4dbf26709 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 13 May 2009 17:47:23 +0000 Subject: test_response: correct OFS test Must have multiple headers to test this effectively --- test/unit/test_response.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)" -- cgit v1.2.3-24-ge0c7