mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 12:14:51 +00:00
Get better error if UNIXSocket.socketpair spec fails
This commit is contained in:
parent
29e7973e05
commit
e79f8974b5
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user