summaryrefslogtreecommitdiff
path: root/test/socket
diff options
context:
space:
mode:
authorayumin <ayumin@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-02 16:37:14 +0000
committerayumin <ayumin@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-02 16:37:14 +0000
commit233f7d09e3b5a46917023da7b152b5062036e25a (patch)
tree952b09d7001db1021d466b82cf500b77e780f258 /test/socket
parent260f6bed23b968ffa14daa79ed1da7077e312116 (diff)
* test/socket/test_sockopt.rb: change test name. follow r41037.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/socket')
-rw-r--r--test/socket/test_sockopt.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/socket/test_sockopt.rb b/test/socket/test_sockopt.rb
index 5ed24d8..d1f6f29 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)