From 45dc7c2acae82c4699c2678017ae714f032aa8b1 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 29 Mar 2009 22:20:50 -0700 Subject: test_exec: fix response bodies They were non-conformant for the longest time --- test/exec/test_exec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/exec/test_exec.rb b/test/exec/test_exec.rb index fd33db1..7ce0637 100644 --- a/test/exec/test_exec.rb +++ b/test/exec/test_exec.rb @@ -31,13 +31,13 @@ class ExecTest < Test::Unit::TestCase HI = <<-EOS use Rack::ContentLength -run proc { |env| [ 200, { 'Content-Type' => 'text/plain' }, "HI\\n" ] } +run proc { |env| [ 200, { 'Content-Type' => 'text/plain' }, [ "HI\\n" ] ] } EOS HELLO = <<-EOS class Hello def call(env) - [ 200, { 'Content-Type' => 'text/plain' }, "HI\\n" ] + [ 200, { 'Content-Type' => 'text/plain' }, [ "HI\\n" ] ] end end EOS -- cgit v1.2.3-24-ge0c7