Skip to content

Commit

Permalink
Fix the argument order
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Nov 30, 2023
1 parent ac9fdb7 commit e6d4441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/socket/test_socket.rb
Expand Up @@ -774,7 +774,7 @@ def test_resolurion_error_error_code
begin
Socket.getaddrinfo("www.kame.net", 80, "AF_UNIX")
rescue => e
assert_equal(e.error_code, Socket::EAI_FAMILY)
assert_equal(Socket::EAI_FAMILY, e.error_code)
end
end

Expand Down

0 comments on commit e6d4441

Please sign in to comment.