diff options
Diffstat (limited to 'test/socket')
-rw-r--r-- | test/socket/test_nonblock.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/socket/test_nonblock.rb b/test/socket/test_nonblock.rb index 3f8d548c5e..5d45593439 100644 --- a/test/socket/test_nonblock.rb +++ b/test/socket/test_nonblock.rb @@ -185,11 +185,11 @@ class TestSocketNonblock < Test::Unit::TestCase def udp_pair s1 = UDPSocket.new s1.bind('127.0.0.1', 0) - af, port1, host, addr1 = s1.addr + _, port1, _, addr1 = s1.addr s2 = UDPSocket.new s2.bind('127.0.0.1', 0) - af, port2, host, addr2 = s2.addr + _, port2, _, addr2 = s2.addr s1.connect(addr2, port2) s2.connect(addr1, port1) |