summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-19 21:34:04 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-19 21:34:04 +0000
commitc018d46413068307580f36976113a102e62737f2 (patch)
treeb7b8aed18da4669d8d49d22361c869d0d5f041a0 /test
parentb9f8fc510f4a13e484da207512f83f21e30c398b (diff)
fix off-by-one in r58806
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_io.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb
index ecf5658d22..5b58fde878 100644
--- a/test/ruby/test_io.rb
+++ b/test/ruby/test_io.rb
@@ -3558,7 +3558,7 @@ __END__
TCPServer.open('localhost', 0) do |svr|
con = TCPSocket.new('localhost', svr.addr[1])
acc = svr.accept
- assert_equal 6, con.send('hello', Socket::MSG_OOB)
+ assert_equal 5, con.send('hello', Socket::MSG_OOB)
set = IO.select(nil, nil, [acc], 30)
assert_equal([[], [], [acc]], set, 'IO#select exceptions array OK')
acc.close