Skip to content

Commit f00d198

Browse files
committed
Fix wrong hostname with test_max_version test
1 parent b01bcf6 commit f00d198

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/net/http/test_https.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def test_min_version
295295
end
296296

297297
def test_max_version
298-
http = Net::HTTP.new(HOST_IP, config("port"))
298+
http = Net::HTTP.new(HOST, config("port"))
299299
http.use_ssl = true
300300
http.max_version = :SSL2
301301
http.verify_callback = Proc.new do |preverify_ok, store_ctx|

0 commit comments

Comments
 (0)