[前][次][番号順一覧][スレッド一覧]

ruby-changes:28987

From: ayumin <ko1@a...>
Date: Mon, 3 Jun 2013 01:16:02 +0900 (JST)
Subject: [ruby-changes:28987] ayumin:r41039 (trunk): * test/rinda/test_rinda.rb: rename functions introduced in r41009.

ayumin	2013-06-03 01:15:51 +0900 (Mon, 03 Jun 2013)

  New Revision: 41039

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41039

  Log:
    * test/rinda/test_rinda.rb: rename functions introduced in r41009.

  Modified files:
    trunk/ChangeLog
    trunk/test/rinda/test_rinda.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 41038)
+++ ChangeLog	(revision 41039)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Jun  3 01:08:43 2013  Ayumu AIZAWA  <ayumu.aizawa@g...>
+
+	* test/rinda/test_rinda.rb: rename functions introduced in r41009.
+
 Sun Jun  2 23:33:42 2013  Kazuki Tsujimoto  <kazuki@c...>
 
 	* enc/trans/japanese_euc.trans, test/ruby/test_transcode.rb,
Index: test/rinda/test_rinda.rb
===================================================================
--- test/rinda/test_rinda.rb	(revision 41038)
+++ test/rinda/test_rinda.rb	(revision 41039)
@@ -657,8 +657,8 @@ class TestRingFinger < Test::Unit::TestC https://github.com/ruby/ruby/blob/trunk/test/rinda/test_rinda.rb#L657
   def test_make_socket_ipv4_multicast
     v4mc = @rf.make_socket('239.0.0.1')
 
-    assert_equal(1, v4mc.getsockopt(:IPPROTO_IP, :IP_MULTICAST_LOOP).ip_multicast_loop)
-    assert_equal(1, v4mc.getsockopt(:IPPROTO_IP, :IP_MULTICAST_TTL).ip_multicast_ttl)
+    assert_equal(1, v4mc.getsockopt(:IPPROTO_IP, :IP_MULTICAST_LOOP).ipv4_multicast_loop)
+    assert_equal(1, v4mc.getsockopt(:IPPROTO_IP, :IP_MULTICAST_TTL).ipv4_multicast_ttl)
   end
 
   def test_make_socket_ipv6_multicast
@@ -672,7 +672,7 @@ class TestRingFinger < Test::Unit::TestC https://github.com/ruby/ruby/blob/trunk/test/rinda/test_rinda.rb#L672
   def test_make_socket_ipv4_multicast_hops
     @rf.multicast_hops = 2
     v4mc = @rf.make_socket('239.0.0.1')
-    assert_equal(2, v4mc.getsockopt(:IPPROTO_IP, :IP_MULTICAST_TTL).ip_multicast_ttl)
+    assert_equal(2, v4mc.getsockopt(:IPPROTO_IP, :IP_MULTICAST_TTL).ipv4_multicast_ttl)
   end
 
   def test_make_socket_ipv6_multicast_hops

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]