mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Remove check of ai.protocol
Solaris 10 returns addrinfo.ai_protocol as 0, not 6.
This commit is contained in:
parent
20e428ec40
commit
f5024de002
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue