diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-07-10 10:23:33 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-07-10 23:06:07 +0000 |
| commit | 5e6f04abc82baed200a554950ecd57ba74a4bd29 (patch) | |
| tree | 7fad50e990c57f9b5e15e267116adc18ce579ccf /test | |
| parent | c7eb9ac6f96edec97332b473432261490b48ea26 (diff) | |
[ruby/net-http] Fix wrong hostname with test_max_version test
https://github.com/ruby/net-http/commit/f00d198433
Diffstat (limited to 'test')
| -rw-r--r-- | test/net/http/test_https.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/http/test_https.rb b/test/net/http/test_https.rb index cf297f3755..631ce501fa 100644 --- a/test/net/http/test_https.rb +++ b/test/net/http/test_https.rb @@ -295,7 +295,7 @@ class TestNetHTTPS < Test::Unit::TestCase end def test_max_version - http = Net::HTTP.new(HOST_IP, config("port")) + http = Net::HTTP.new(HOST, config("port")) http.use_ssl = true http.max_version = :SSL2 http.verify_callback = Proc.new do |preverify_ok, store_ctx| |
