mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@032022ca
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d593aed7b7
commit
a5b83b03ad
47 changed files with 254 additions and 172 deletions
|
@ -7,7 +7,6 @@ platform_is_not :windows do
|
|||
|
||||
before :each do
|
||||
@path = SocketSpecs.socket_path
|
||||
rm_r @path
|
||||
@server = UNIXServer.open(@path)
|
||||
@s1 = UNIXSocket.new(@path)
|
||||
@s2 = @server.accept
|
||||
|
@ -17,7 +16,7 @@ platform_is_not :windows do
|
|||
@server.close
|
||||
@s1.close
|
||||
@s2.close
|
||||
rm_r @path
|
||||
SocketSpecs.rm_socket @path
|
||||
end
|
||||
|
||||
it_should_behave_like "partially closable sockets"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue