mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
2705eeea16
commit
d739458b71
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue