From 0fb2457d794ee49701873584c80a6e1cace94b83 Mon Sep 17 00:00:00 2001 From: Masaki Matsushita Date: Mon, 9 Sep 2019 18:35:19 +0900 Subject: Fix service name for test change service name to fix failed test on Solaris --- test/socket/test_addrinfo.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/socket/test_addrinfo.rb b/test/socket/test_addrinfo.rb index 9f50848c7d..fcb71da011 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", "http", Socket::PF_INET, Socket::SOCK_STREAM, timeout: 1).fetch(0) + ai = Addrinfo.getaddrinfo("localhost", nil, Socket::PF_INET, Socket::SOCK_STREAM, timeout: 1).fetch(0) assert_equal(6, ai.protocol) assert_equal(80, ai.ip_port) end -- cgit v1.2.3