зеркало из https://github.com/github/ruby.git
* 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
This commit is contained in:
Родитель
2705eeea16
Коммит
d739458b71
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче