mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
* ext/socket/socket.c (socket_s_ip_address_list): renamed from
socket_s_list_ip_address. [ruby-dev:37806] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
45c4ae9b8b
commit
efdef4dbe2
3 changed files with 11 additions and 6 deletions
|
@ -55,9 +55,9 @@ class TestSocket < Test::Unit::TestCase
|
|||
assert_raise(SocketError) { Socket.getnameinfo(["AF_UNIX", 80, "0.0.0.0"]) }
|
||||
end
|
||||
|
||||
def test_list_ip_address
|
||||
def test_ip_address_list
|
||||
begin
|
||||
list = Socket.list_ip_address
|
||||
list = Socket.ip_address_list
|
||||
rescue NotImplementedError
|
||||
return
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue