summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-01 14:52:05 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-01 14:52:05 +0000
commit9c4ef4b191a1e6b9abdbb21c7c709d1d0f2397e6 (patch)
tree3f67527150db1bdb3fc8aa6345bba559c4e76099 /test
parent051a74991971060f310c875f141fa4778424fd8b (diff)
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
Diffstat (limited to 'test')
-rw-r--r--test/net/http/test_httpresponse.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/http/test_httpresponse.rb b/test/net/http/test_httpresponse.rb
index 7d37864..6dd2a37 100644
--- a/test/net/http/test_httpresponse.rb
+++ b/test/net/http/test_httpresponse.rb
@@ -126,7 +126,7 @@ EOS
assert_equal nil, res['content-encoding']
assert_equal 'hello', body
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
end
end