1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/net/http/test_http.rb (TestNetHTTP_v1_2#test_get,

TestNetHTTP_v1_2_chunked#test_get): shoudn't check
  HttpResponse#decode_content if Zlib is not available.
  ko1 complained via IRC.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2013-07-10 02:38:17 +00:00
parent 84c08bc3b8
commit 26ac058958
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,10 @@
Wed Jul 10 11:35:36 2013 NAKAMURA Usaku <usa@ruby-lang.org>
* test/net/http/test_http.rb (TestNetHTTP_v1_2#test_get,
TestNetHTTP_v1_2_chunked#test_get): shoudn't check
HttpResponse#decode_content if Zlib is not available.
ko1 complained via IRC.
Wed Jul 10 10:20:07 2013 NARUSE, Yui <naruse@ruby-lang.org>
* tool/rbinstall.rb: always require rubygems to stabilize rubygems

View file

@ -233,7 +233,7 @@ module TestNetHTTP_version_1_1_methods
http.get('/', { 'User-Agent' => 'test' }.freeze)
}
assert res.decode_content, '[Bug #7924]'
assert res.decode_content, '[Bug #7924]' if Net::HTTP::HAVE_ZLIB
end
def _test_get__iter(http)
@ -460,7 +460,7 @@ module TestNetHTTP_version_1_2_methods
assert_equal $test_net_http_data.size, res.body.size
assert_equal $test_net_http_data, res.body
refute res.decode_content, 'Bug #7831'
refute res.decode_content, 'Bug #7831' if Net::HTTP::HAVE_ZLIB
}
end