mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d3f7e5d3df
commit
2705eeea16
1 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,7 @@ class TestSocket_BasicSocket < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def socks(port)
|
def socks(port)
|
||||||
sserv = TCPServer.new(12345)
|
sserv = TCPServer.new(12345)
|
||||||
ssock = nil
|
ssock = nil
|
||||||
t = Thread.new { ssock = sserv.accept }
|
t = Thread.new { ssock = sserv.accept }
|
||||||
|
@ -131,7 +131,7 @@ class TestSocket_BasicSocket < Test::Unit::TestCase
|
||||||
# close_write raises if socket is not open
|
# close_write raises if socket is not open
|
||||||
assert_nothing_raised { csock.close }
|
assert_nothing_raised { csock.close }
|
||||||
assert_raise(IOError) { csock.close_write }
|
assert_raise(IOError) { csock.close_write }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
end if defined?(BasicSocket)
|
end if defined?(BasicSocket)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue