Skip to content

Commit 52c2660

Browse files
shioimmhsbt
authored andcommitted
Fixup with review comment
#9088 (comment)
1 parent 1bfd30a commit 52c2660

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/socket/test_socket.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ def test_resolurion_error_error_code
774774
begin
775775
Socket.getaddrinfo("example.com", 80, "AF_UNIX")
776776
rescue => e
777-
assert_equal([Socket::EAI_FAMILY, Socket::EAI_FAIL].include?(e.error_code), true)
777+
assert_include([Socket::EAI_FAMILY, Socket::EAI_FAIL], e.error_code)
778778
end
779779
end
780780

0 commit comments

Comments
 (0)