summaryrefslogtreecommitdiff
path: root/test/socket
diff options
context:
space:
mode:
authorsvn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-13 23:22:31 +0000
committersvn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-13 23:22:31 +0000
commit2705eeea1619048a4876293e45008561b3550e3a (patch)
treeb82a35437440fbd6434eca9a18f7b080eb08a887 /test/socket
parentd3f7e5d3df2922105f8565b2c928d6dcd4e1f4c5 (diff)
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/socket')
-rw-r--r--test/socket/test_basicsocket.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/socket/test_basicsocket.rb b/test/socket/test_basicsocket.rb
index d669580..e56d5f0 100644
--- a/test/socket/test_basicsocket.rb
+++ b/test/socket/test_basicsocket.rb
@@ -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)