summaryrefslogtreecommitdiff
path: root/spec/ruby
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2026-01-04 15:36:02 +0100
committerBenoit Daloze <eregontp@gmail.com>2026-01-04 15:36:02 +0100
commit29e7973e055cc82622cdd4511d78d74ad784c80e (patch)
tree3cbe513007c279490daab4faa2b89dfc2c6585ed /spec/ruby
parent6939f03f4cec6c50cbc1d214a38cdcdcf1d3f705 (diff)
Update to ruby/spec@94dbd55
Diffstat (limited to 'spec/ruby')
-rw-r--r--spec/ruby/library/socket/shared/address.rb2
-rw-r--r--spec/ruby/library/socket/unixsocket/recvfrom_spec.rb6
2 files changed, 4 insertions, 4 deletions
diff --git a/spec/ruby/library/socket/shared/address.rb b/spec/ruby/library/socket/shared/address.rb
index b548f1eac0..49ba17c400 100644
--- a/spec/ruby/library/socket/shared/address.rb
+++ b/spec/ruby/library/socket/shared/address.rb
@@ -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
diff --git a/spec/ruby/library/socket/unixsocket/recvfrom_spec.rb b/spec/ruby/library/socket/unixsocket/recvfrom_spec.rb
index 9bb18047c4..5e61cd9a90 100644
--- a/spec/ruby/library/socket/unixsocket/recvfrom_spec.rb
+++ b/spec/ruby/library/socket/unixsocket/recvfrom_spec.rb
@@ -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