diff options
Diffstat (limited to 'test/socket')
-rw-r--r-- | test/socket/test_sockopt.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/socket/test_sockopt.rb b/test/socket/test_sockopt.rb index 5ed24d8345..d1f6f29c34 100644 --- a/test/socket/test_sockopt.rb +++ b/test/socket/test_sockopt.rb @@ -25,7 +25,7 @@ class TestSocketOption < Test::Unit::TestCase assert_equal(true, opt.bool) end - def test_ip_multicast_loop + def test_ipv4_multicast_loop sockopt = Socket::Option.ipv4_multicast_loop(128) assert_equal('#<Socket::Option: INET IP MULTICAST_LOOP 128>', sockopt.inspect) assert_equal(Socket::AF_INET, sockopt.family) @@ -34,7 +34,7 @@ class TestSocketOption < Test::Unit::TestCase assert_equal(128, sockopt.ipv4_multicast_loop) end - def test_ip_multicast_ttl + def test_ipv4_multicast_ttl sockopt = Socket::Option.ipv4_multicast_ttl(128) assert_equal('#<Socket::Option: INET IP MULTICAST_TTL 128>', sockopt.inspect) assert_equal(Socket::AF_INET, sockopt.family) |