diff options
Diffstat (limited to 'test/socket')
-rw-r--r-- | test/socket/test_basicsocket.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/socket/test_basicsocket.rb b/test/socket/test_basicsocket.rb index e56d5f0bfb..5c8cffe451 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 |