mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fix a failure without zlib
* test/net/http/test_httpresponse.rb (HTTPResponseTest#test_read_body_content_encoding_deflate_uppercase): fix failure without zlib. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
051a749919
commit
9c4ef4b191
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
Wed Jul 1 23:50:34 2015 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
|
||||||
|
|
||||||
|
* test/net/http/test_httpresponse.rb
|
||||||
|
(HTTPResponseTest#test_read_body_content_encoding_deflate_uppercase):
|
||||||
|
fix a failure without zlib.
|
||||||
|
|
||||||
Wed Jul 1 10:54:56 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
|
Wed Jul 1 10:54:56 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
|
||||||
|
|
||||||
* Add test for Enumerable#none? [fix GH-950] Patch by @yui-knk
|
* Add test for Enumerable#none? [fix GH-950] Patch by @yui-knk
|
||||||
|
|
|
@ -126,7 +126,7 @@ EOS
|
||||||
assert_equal nil, res['content-encoding']
|
assert_equal nil, res['content-encoding']
|
||||||
assert_equal 'hello', body
|
assert_equal 'hello', body
|
||||||
else
|
else
|
||||||
assert_equal 'deflate', res['content-encoding']
|
assert_equal 'DEFLATE', res['content-encoding']
|
||||||
assert_equal "x\x9C\xCBH\xCD\xC9\xC9\a\x00\x06,\x02\x15", body
|
assert_equal "x\x9C\xCBH\xCD\xC9\xC9\a\x00\x06,\x02\x15", body
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue