diff options
Diffstat (limited to 'test/net')
-rw-r--r-- | test/net/http/test_httpresponse.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/net/http/test_httpresponse.rb b/test/net/http/test_httpresponse.rb index d57614bb73..bb4b7fbd89 100644 --- a/test/net/http/test_httpresponse.rb +++ b/test/net/http/test_httpresponse.rb @@ -93,7 +93,7 @@ EOS end assert_equal 'hello', body - end + end if Net::HTTP::HAVE_ZLIB def test_read_body_content_encoding_deflate_chunked io = dummy_io(<<EOS) @@ -119,7 +119,7 @@ EOS end assert_equal 'hello', body - end + end if Net::HTTP::HAVE_ZLIB def test_read_body_content_encoding_deflate_no_length io = dummy_io(<<EOS) @@ -139,7 +139,7 @@ EOS end assert_equal 'hello', body - end + end if Net::HTTP::HAVE_ZLIB def test_read_body_content_encoding_deflate_content_range io = dummy_io(<<EOS) |