summaryrefslogtreecommitdiff
path: root/test/socket
diff options
context:
space:
mode:
authorheadius <headius@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-13 23:35:23 +0000
committerheadius <headius@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-13 23:35:23 +0000
commitd739458b7142a97b35707623390ea36c9b22b536 (patch)
tree83606ee2cb21d6d8d6e6d578ca227dd2c8f4d77c /test/socket
parent2705eeea1619048a4876293e45008561b3550e3a (diff)
* test/socket/test_basicsocket.rb: Remove unused constant.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/socket')
-rw-r--r--test/socket/test_basicsocket.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/socket/test_basicsocket.rb b/test/socket/test_basicsocket.rb
index e56d5f0..5c8cffe 100644
--- a/test/socket/test_basicsocket.rb
+++ b/test/socket/test_basicsocket.rb
@@ -5,9 +5,6 @@ rescue LoadError
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