1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Revert r53253. naruse fixed it differently in r53244

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
normal 2015-12-22 18:20:20 +00:00
parent 5e183c7255
commit f4cacdc4e2
2 changed files with 1 additions and 6 deletions

View file

@ -134,8 +134,7 @@ class TestSocket_BasicSocket < Test::Unit::TestCase
end
def test_for_fd
assert_raise(ArgumentError, # [ruby-cvs:60402]
Errno::EBADF, '[ruby-core:72418] [Bug #11854]') do
assert_raise(Errno::EBADF, '[ruby-core:72418] [Bug #11854]') do
BasicSocket.for_fd(-1)
end
inet_stream do |sock|