diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-08 15:38:33 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-08 15:38:33 +0000 |
commit | 742bbbb01b310440a7672fabddd016226d20bee7 (patch) | |
tree | 735522e7c5325517e91b5bbb3932d1596a4ec2b7 /test/webrick/test_httpresponse.rb | |
parent | 8222432c9db1432995538a5d355d014c6fd1a0e9 (diff) | |
download | ruby-742bbbb01b310440a7672fabddd016226d20bee7.tar.gz |
* test/webrick: Examine log and use assert_join_threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/webrick/test_httpresponse.rb')
-rw-r--r-- | test/webrick/test_httpresponse.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/webrick/test_httpresponse.rb b/test/webrick/test_httpresponse.rb index 1f85a920ca..c916ed57c2 100644 --- a/test/webrick/test_httpresponse.rb +++ b/test/webrick/test_httpresponse.rb @@ -63,6 +63,7 @@ module WEBrick assert_equal 'hello', r.read } } + assert_equal 0, logger.messages.length end def test_send_body_string @@ -75,6 +76,7 @@ module WEBrick assert_equal 'hello', r.read } + assert_equal 0, logger.messages.length end def test_send_body_string_io @@ -87,6 +89,7 @@ module WEBrick assert_equal 'hello', r.read } + assert_equal 0, logger.messages.length end def test_send_body_io_chunked @@ -108,6 +111,7 @@ module WEBrick assert_equal "5\r\nhello\r\n0\r\n\r\n", r.read } } + assert_equal 0, logger.messages.length end def test_send_body_string_chunked @@ -123,6 +127,7 @@ module WEBrick r.binmode assert_equal "5\r\nhello\r\n0\r\n\r\n", r.read } + assert_equal 0, logger.messages.length end def test_send_body_string_io_chunked @@ -138,6 +143,7 @@ module WEBrick r.binmode assert_equal "5\r\nhello\r\n0\r\n\r\n", r.read } + assert_equal 0, logger.messages.length end end end |