diff --git a/test/socket/test_addrinfo.rb b/test/socket/test_addrinfo.rb index 68341c2148..92b61ea99e 100644 --- a/test/socket/test_addrinfo.rb +++ b/test/socket/test_addrinfo.rb @@ -690,7 +690,6 @@ class TestSocketAddrinfo < Test::Unit::TestCase def test_addrinfo_timeout ai = Addrinfo.getaddrinfo("localhost", "ssh", Socket::PF_INET, Socket::SOCK_STREAM, timeout: 1).fetch(0) - assert_equal(6, ai.protocol) assert_equal(22, ai.ip_port) end end