From fceaa6886b8b33f5c083b1b924b8578ecd32142a Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Mon, 15 Nov 2021 09:31:44 -0800 Subject: [PATCH] Sync test_http_request.rb after fix to net-http --- test/net/http/test_http_request.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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