mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
test(tui_spec): fix another case of flakiness (#35374)
This commit is contained in:
@@ -410,7 +410,7 @@ describe('TUI :connect', function()
|
|||||||
|
|
||||||
local server1_session = n.connect(server1)
|
local server1_session = n.connect(server1)
|
||||||
server1_session:request('nvim_command', 'qall!')
|
server1_session:request('nvim_command', 'qall!')
|
||||||
screen2:expect({ any = [[Process exited]] })
|
screen2:expect({ any = vim.pesc('[Process exited 0]') })
|
||||||
|
|
||||||
screen2:detach()
|
screen2:detach()
|
||||||
|
|
||||||
@@ -458,13 +458,8 @@ describe('TUI :connect', function()
|
|||||||
'--server',
|
'--server',
|
||||||
server2,
|
server2,
|
||||||
})
|
})
|
||||||
screen3:expect([[
|
screen3:expect({ any = 'Remote ui failed to start: connection refused' })
|
||||||
Remote ui failed to start: connection refused |
|
screen3:expect({ any = vim.pesc('[Process exited 1]') })
|
||||||
|
|
|
||||||
[Process exited 1]^ |
|
|
||||||
|*3
|
|
||||||
{5:-- TERMINAL --} |
|
|
||||||
]])
|
|
||||||
screen3:detach()
|
screen3:detach()
|
||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
|
Reference in New Issue
Block a user