diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/socket/test_addrinfo.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/socket/test_addrinfo.rb b/test/socket/test_addrinfo.rb index 2af6918caa..9f50848c7d 100644 --- a/test/socket/test_addrinfo.rb +++ b/test/socket/test_addrinfo.rb @@ -689,7 +689,7 @@ class TestSocketAddrinfo < Test::Unit::TestCase end def test_addrinfo_timeout - ai = Addrinfo.getaddrinfo("localhost.localdomain", "http", Socket::PF_INET, Socket::SOCK_STREAM, timeout: 1).fetch(0) + ai = Addrinfo.getaddrinfo("localhost", "http", Socket::PF_INET, Socket::SOCK_STREAM, timeout: 1).fetch(0) assert_equal(6, ai.protocol) assert_equal(80, ai.ip_port) end |