diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-07 06:44:24 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-07 06:44:24 +0000 |
commit | af19c6657066c18a739ee08eadadbc522d9bbcbb (patch) | |
tree | 6c13644379c4e1467d5876f0e62ca3589c0df27f /test/socket/test_socket.rb | |
parent | 301f4076f8c5763489edf26133d546f80377f9cc (diff) | |
download | ruby-af19c6657066c18a739ee08eadadbc522d9bbcbb.tar.gz |
* 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
Diffstat (limited to 'test/socket/test_socket.rb')
-rw-r--r-- | test/socket/test_socket.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/socket/test_socket.rb b/test/socket/test_socket.rb index 4eab094e7c..6b4805bbd0 100644 --- a/test/socket/test_socket.rb +++ b/test/socket/test_socket.rb @@ -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) |