1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
ayumin 2013-06-02 16:37:14 +00:00
parent 260f6bed23
commit 233f7d09e3
2 changed files with 6 additions and 2 deletions

View file

@ -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.

View file

@ -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)