mirror of
https://github.com/ruby/ruby.git
synced 2025-09-18 01:54:00 +02:00
Fixup with review comment
https://github.com/ruby/ruby/pull/9088#discussion_r1411490445
This commit is contained in:
parent
1bfd30a1e3
commit
52c2660163
1 changed files with 1 additions and 1 deletions
|
@ -774,7 +774,7 @@ class TestSocket < Test::Unit::TestCase
|
|||
begin
|
||||
Socket.getaddrinfo("example.com", 80, "AF_UNIX")
|
||||
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue