Merge branch 'master' into expression-parser

This commit is contained in:
ZyX
2017-11-06 20:23:35 +03:00
229 changed files with 2783 additions and 1244 deletions

View File

@@ -304,14 +304,30 @@ describe('server -> client', function()
connect_test(server, 'pipe', address)
end)
it('via ip address', function()
it('via ipv4 address', function()
local server = spawn(nvim_argv)
set_session(server)
local address = funcs.serverstart("127.0.0.1:")
if #address == 0 then
pending('no ipv4 stack', function() end)
return
end
eq('127.0.0.1:', string.sub(address,1,10))
connect_test(server, 'tcp', address)
end)
it('via ipv6 address', function()
local server = spawn(nvim_argv)
set_session(server)
local address = funcs.serverstart('::1:')
if #address == 0 then
pending('no ipv6 stack', function() end)
return
end
eq('::1:', string.sub(address,1,4))
connect_test(server, 'tcp', address)
end)
it('via hostname', function()
local server = spawn(nvim_argv)
set_session(server)