drop remaining 1.8 and fragile autopush code paths
[kgio.git] / test / test_socket.rb
bloba85f0cced246e46ec2a2dd3283047864054274a2
1 require 'test/unit'
2 require 'kgio'
4 class TestKgioSocket < Test::Unit::TestCase
5   def test_socket_args
6     s = Kgio::Socket.new(Socket::AF_INET, Socket::SOCK_STREAM, 0)
7     assert_kind_of Socket, s
8     assert_instance_of Kgio::Socket, s
10     s = Kgio::Socket.new(Socket::AF_UNIX, Socket::SOCK_STREAM, 0)
11     assert_kind_of Socket, s
12     assert_instance_of Kgio::Socket, s
13   end
14 end