add Watcher Rack application
[raindrops.git] / test / test_inet_diag_socket.rb
blobc40d50e6de7dd83979fb901de30795d1733d9693
1 # -*- encoding: binary -*-
2 require 'test/unit'
3 require 'raindrops'
4 $stderr.sync = $stdout.sync = true
6 class TestInetDiagSocket < Test::Unit::TestCase
7   def test_new
8     sock = Raindrops::InetDiagSocket.new
9     assert_kind_of Socket, sock
10     assert_kind_of Fixnum, sock.fileno
11     assert_nil sock.close
12   end
13 end if RUBY_PLATFORM =~ /linux/