summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2021-11-15 09:31:44 -0800
committerJeremy Evans <code@jeremyevans.net>2021-11-15 09:31:44 -0800
commitfceaa6886b8b33f5c083b1b924b8578ecd32142a (patch)
treeb3ebdc5f4b71e93a275c6ac1f4b29a4f124d658e
parent555eb67058301facd22dcff49d49edfb532bb2dc (diff)
downloadruby-fceaa6886b8b33f5c083b1b924b8578ecd32142a.tar.gz
Sync test_http_request.rb after fix to net-http
-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 35dcbbc704..7fd82b0353 100644
--- a/test/net/http/test_http_request.rb
+++ b/test/net/http/test_http_request.rb
@@ -51,7 +51,7 @@ class HTTPRequestTest < Test::Unit::TestCase
'user-agent' => %w[Ruby],
}
- assert_equal expected, req.to_hash.tap{_1.delete 'accept-encoding'}
+ assert_equal expected, req.to_hash
end
def test_initialize_accept_encoding