diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | test/socket/test_sockopt.rb | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Mon Jun 3 01:25:25 2013 Ayumu AIZAWA <ayumu.aizawa@gmail.com> + + * test/socket/test_sockopt.rb: change test name. follow r41037. + Mon Jun 3 01:08:43 2013 Ayumu AIZAWA <ayumu.aizawa@gmail.com> * test/rinda/test_rinda.rb: rename functions introduced in r41009. 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) |