mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@28a728b
This commit is contained in:
parent
3eb0d50c0b
commit
664e96b1de
42 changed files with 484 additions and 117 deletions
|
@ -40,7 +40,7 @@ describe "TCPServer.new" do
|
|||
end
|
||||
|
||||
it "binds to INADDR_ANY if the hostname is empty and the port is a string" do
|
||||
@server = TCPServer.new('', 0)
|
||||
@server = TCPServer.new('', '0')
|
||||
addr = @server.addr
|
||||
addr[0].should == 'AF_INET'
|
||||
addr[1].should be_kind_of(Integer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue