summaryrefslogtreecommitdiff
path: root/test/net
diff options
context:
space:
mode:
Diffstat (limited to 'test/net')
-rw-r--r--test/net/http/test_http.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/net/http/test_http.rb b/test/net/http/test_http.rb
index 9def957b48..704456f3a3 100644
--- a/test/net/http/test_http.rb
+++ b/test/net/http/test_http.rb
@@ -563,10 +563,10 @@ module TestNetHTTP_version_1_2_methods
end
def _test_request__uri_host(http)
- uri = URI 'http://example/'
+ uri = URI 'http://other.example/'
req = Net::HTTP::Get.new(uri)
- req['host'] = 'other.example'
+ req['host'] = 'example'
res = http.request(req)