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

* test/socket/{test_nonblock.rb, test_socket.rb}: Windows support.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2006-06-07 06:44:24 +00:00
parent 301f4076f8
commit af19c66570
2 changed files with 14 additions and 14 deletions

View file

@ -80,4 +80,4 @@ class TestSocket < Test::Unit::TestCase
sockaddr_un = Socket.sockaddr_un("/tmp/s")
assert_raise(ArgumentError) { Socket.unpack_sockaddr_in(sockaddr_un) }
end
end
end if defined?(Socket) && Socket.respond_to?(:sockaddr_un)