mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
Fix the argument order
This commit is contained in:
parent
ac9fdb7a50
commit
e6d4441618
1 changed files with 1 additions and 1 deletions
|
@ -774,7 +774,7 @@ class TestSocket < Test::Unit::TestCase
|
||||||
begin
|
begin
|
||||||
Socket.getaddrinfo("www.kame.net", 80, "AF_UNIX")
|
Socket.getaddrinfo("www.kame.net", 80, "AF_UNIX")
|
||||||
rescue => e
|
rescue => e
|
||||||
assert_equal(e.error_code, Socket::EAI_FAMILY)
|
assert_equal(Socket::EAI_FAMILY, e.error_code)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue