diff options
| author | Benoit Daloze <eregontp@gmail.com> | 2026-01-04 16:04:02 +0100 |
|---|---|---|
| committer | Benoit Daloze <eregontp@gmail.com> | 2026-01-04 16:04:02 +0100 |
| commit | 2bf954305323857418b917f4a987c300245ee0eb (patch) | |
| tree | c0caa4f99e469e586178ca84a7d605ad24b6daa4 /spec/ruby | |
| parent | e79f8974b55de2ef8135c3fad03860e8ad36dfb0 (diff) | |
Remove assertion which does not hold
* https://github.com/ruby/ruby/actions/runs/20694508956/job/59407571754
1)
UNIXSocket.pair emulates unnamed sockets with a temporary file with a path FAILED
Expected "C:\\a\\_temp\\102424668889-2384.($)".match? /\\AppData\\Local\\Temp\\\d+-\d+\.\(\$\)\z/
to be truthy but was false
Diffstat (limited to 'spec/ruby')
| -rw-r--r-- | spec/ruby/library/socket/unixsocket/shared/pair.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/ruby/library/socket/unixsocket/shared/pair.rb b/spec/ruby/library/socket/unixsocket/shared/pair.rb index 006863777a..d68ee466bf 100644 --- a/spec/ruby/library/socket/unixsocket/shared/pair.rb +++ b/spec/ruby/library/socket/unixsocket/shared/pair.rb @@ -31,7 +31,6 @@ describe :unixsocket_pair, shared: true do platform_is :windows do it "emulates unnamed sockets with a temporary file with a path" do - @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 |
