summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/net/http/test_http_request.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/http/test_http_request.rb b/test/net/http/test_http_request.rb
index 239b2d1009..ebeda5f49c 100644
--- a/test/net/http/test_http_request.rb
+++ b/test/net/http/test_http_request.rb
@@ -50,7 +50,7 @@ class HTTPRequestTest < Test::Unit::TestCase
'user-agent' => %w[Ruby],
}
- assert_equal expected, req.to_hash
+ assert_equal expected, req.to_hash.tap{_1.delete 'accept-encoding'}
end
def test_initialize_accept_encoding