File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 33
44MSpec . enable_feature :sock_packet if Socket . const_defined? ( :SOCK_PACKET )
55MSpec . enable_feature :unix_socket if Socket . const_defined? ( :AF_UNIX )
6+ MSpec . enable_feature :unix_socket_advanced unless PlatformGuard . windows?
67MSpec . enable_feature :udp_cork if Socket . const_defined? ( :UDP_CORK )
78MSpec . enable_feature :tcp_cork if Socket . const_defined? ( :TCP_CORK )
89MSpec . enable_feature :pktinfo if Socket . const_defined? ( :IP_PKTINFO )
Original file line number Diff line number Diff line change 11require_relative '../spec_helper'
22require_relative '../fixtures/classes'
33
4- with_feature :unix_socket do
4+ with_feature :unix_socket_advanced do
55 describe "UNIXSocket#recv_io" do
66 before :each do
77 @path = SocketSpecs . socket_path
Original file line number Diff line number Diff line change 11require_relative '../spec_helper'
22require_relative '../fixtures/classes'
33
4- with_feature :unix_socket do
4+ with_feature :unix_socket_advanced do
55 describe "UNIXSocket#send_io" do
66 before :each do
77 @path = SocketSpecs . socket_path
You can’t perform that action at this time.
0 commit comments