git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
svn 2015-01-13 23:22:31 +00:00
Родитель d3f7e5d3df
Коммит 2705eeea16
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -89,7 +89,7 @@ class TestSocket_BasicSocket < Test::Unit::TestCase
end
end
def socks(port)
def socks(port)
sserv = TCPServer.new(12345)
ssock = nil
t = Thread.new { ssock = sserv.accept }
@ -131,7 +131,7 @@ class TestSocket_BasicSocket < Test::Unit::TestCase
# close_write raises if socket is not open
assert_nothing_raised { csock.close }
assert_raise(IOError) { csock.close_write }
end
end
end
end if defined?(BasicSocket)