This commit is contained in:
Benoit Daloze 2026-01-04 15:36:02 +01:00
parent 6939f03f4c
commit 29e7973e05
2 changed files with 4 additions and 4 deletions

View File

@ -173,7 +173,7 @@ describe :socket_local_remote_address, shared: true do
end
end
guard -> { platform_is :windows and ruby_bug "#21702", ""..."4.1" } do
guard -> { platform_is :windows and ruby_bug "#21702", ""..."4.2" } do
it 'equals address of peer socket' do
if @method == :local_address
@addr.to_s.should == @b.remote_address.to_s

View File

@ -32,7 +32,7 @@ describe "UNIXSocket#recvfrom" do
end
end
guard -> { platform_is :windows and ruby_bug "#21702", ""..."4.1" } do
guard -> { platform_is :windows and ruby_bug "#21702", ""..."4.2" } do
it "returns an array containing basic information on the client as second element" do
@client.send("foobar", 0)
sock = @server.accept
@ -54,7 +54,7 @@ describe "UNIXSocket#recvfrom" do
end
end
guard -> { platform_is :windows and ruby_bug "#21702", ""..."4.1" } do
guard -> { platform_is :windows and ruby_bug "#21702", ""..."4.2" } do
it "returns an array containing server's address as second element" do
@client.send("", 0)
sock = @server.accept
@ -131,7 +131,7 @@ describe 'UNIXSocket#recvfrom' do
end
end
guard -> { platform_is :windows and ruby_bug "#21702", ""..."4.1" } do
guard -> { platform_is :windows and ruby_bug "#21702", ""..."4.2" } do
it 'returns an Array containing the data and address information' do
@server.recvfrom(5).should == ['hello', ['AF_UNIX', '']]
end