зеркало из https://github.com/github/ruby.git
Fixup with review comment
https://github.com/ruby/ruby/pull/9088#discussion_r1411490445
This commit is contained in:
Родитель
1bfd30a1e3
Коммит
52c2660163
|
@ -774,7 +774,7 @@ class TestSocket < Test::Unit::TestCase
|
||||||
begin
|
begin
|
||||||
Socket.getaddrinfo("example.com", 80, "AF_UNIX")
|
Socket.getaddrinfo("example.com", 80, "AF_UNIX")
|
||||||
rescue => e
|
rescue => e
|
||||||
assert_equal([Socket::EAI_FAMILY, Socket::EAI_FAIL].include?(e.error_code), true)
|
assert_include([Socket::EAI_FAMILY, Socket::EAI_FAIL], e.error_code)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче