mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Windows: fix serverstart functional test
This commit is contained in:
parent
d8a2007d47
commit
091e885d44
@ -38,8 +38,13 @@ describe('serverstart(), serverstop()', function()
|
||||
eq('', eval('v:servername'))
|
||||
|
||||
-- v:servername will take the next available server.
|
||||
if eval('has("win32")') then
|
||||
nvim('command', "call serverstart('\\\\.\\pipe\\test_server_pipe')")
|
||||
eq('\\\\.\\pipe\\test_server_pipe', eval('v:servername'))
|
||||
else
|
||||
nvim('command', "call serverstart('test_server_socket')")
|
||||
eq('test_server_socket', eval('v:servername'))
|
||||
end
|
||||
end)
|
||||
|
||||
it('serverstop() ignores invalid input', function()
|
||||
|
Loading…
Reference in New Issue
Block a user