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

ruby-changes:37161

From: headius <ko1@a...>
Date: Wed, 14 Jan 2015 08:35:28 +0900 (JST)
Subject: [ruby-changes:37161] headius:r49242 (trunk): * test/socket/test_basicsocket.rb: Remove unused constant.

headius	2015-01-14 08:35:23 +0900 (Wed, 14 Jan 2015)

  New Revision: 49242

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

  Log:
    * test/socket/test_basicsocket.rb: Remove unused constant.

  Modified files:
    trunk/test/socket/test_basicsocket.rb
Index: test/socket/test_basicsocket.rb
===================================================================
--- test/socket/test_basicsocket.rb	(revision 49241)
+++ test/socket/test_basicsocket.rb	(revision 49242)
@@ -5,9 +5,6 @@ rescue LoadError https://github.com/ruby/ruby/blob/trunk/test/socket/test_basicsocket.rb#L5
 end
 
 class TestSocket_BasicSocket < Test::Unit::TestCase
-  # JRuby, due to JDK, can't represent server and client Socket in one class
-  SERVER_SOCKET = RUBY_ENGINE == 'jruby' ? ServerSocket : Socket
-
   def inet_stream
     sock = Socket.new(Socket::AF_INET, Socket::SOCK_STREAM, 0)
     yield sock

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

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