Commit f55df0da authored by Hiroshi Mimaki's avatar Hiroshi Mimaki

addrinfo.ai_protocol was not set on Cygwin.

parent bce811a5
......@@ -15,7 +15,7 @@ assert('Socket::getaddrinfo') do
assert_equal "127.0.0.1", a[3]
assert_equal Socket::AF_INET, a[4]
assert_equal Socket::SOCK_DGRAM, a[5]
assert_equal Socket::IPPROTO_UDP, a[6]
assert_equal Socket::IPPROTO_UDP, a[6] unless SocketTest.cygwin?
end
assert('Socket#recvfrom') do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment