diff options
Diffstat (limited to 'test/webrick')
-rw-r--r-- | test/webrick/test_cgi.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/webrick/test_cgi.rb b/test/webrick/test_cgi.rb index c71f18c53b..7d883af3b5 100644 --- a/test/webrick/test_cgi.rb +++ b/test/webrick/test_cgi.rb @@ -54,7 +54,7 @@ class TestWEBrickCGI < Test::Unit::TestCase assert_equal("a=1, a=2, b=x", res.body)} req = Net::HTTP::Get.new("/") http.request(req){|res| - ary = res.body.to_a + ary = res.body.lines.to_a assert_match(%r{/$}, ary[0]) assert_match(%r{/webrick.cgi$}, ary[1]) } |