diff options
| author | Benoit Daloze <eregontp@gmail.com> | 2026-01-04 15:39:31 +0100 |
|---|---|---|
| committer | Benoit Daloze <eregontp@gmail.com> | 2026-01-04 15:39:31 +0100 |
| commit | e79f8974b55de2ef8135c3fad03860e8ad36dfb0 (patch) | |
| tree | 2eab3b5fb8b8d600645871bfc885347a7588b9b6 /spec | |
| parent | 29e7973e055cc82622cdd4511d78d74ad784c80e (diff) | |
Get better error if UNIXSocket.socketpair spec fails
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/ruby/library/socket/unixsocket/shared/pair.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/socket/unixsocket/shared/pair.rb b/spec/ruby/library/socket/unixsocket/shared/pair.rb index 0f1af43b25..006863777a 100644 --- a/spec/ruby/library/socket/unixsocket/shared/pair.rb +++ b/spec/ruby/library/socket/unixsocket/shared/pair.rb @@ -31,7 +31,7 @@ describe :unixsocket_pair, shared: true do platform_is :windows do it "emulates unnamed sockets with a temporary file with a path" do - @s1.path.match?(/\\AppData\\Local\\Temp\\\d+-\d+\.\(\$\)\z/).should be_true + @s1.path.should.match?(/\\AppData\\Local\\Temp\\\d+-\d+\.\(\$\)\z/) @s1.addr.should == ["AF_UNIX", @s1.path] @s2.peeraddr.should == ["AF_UNIX", @s1.path] end |
