mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
test(tui_spec): remove unnecessary arguments for remote UI
This commit is contained in:
@@ -2365,18 +2365,18 @@ describe("TUI as a client", function()
|
|||||||
|
|
||||||
set_session(client_super)
|
set_session(client_super)
|
||||||
local screen_client = thelpers.screen_setup(0,
|
local screen_client = thelpers.screen_setup(0,
|
||||||
string.format([=[["%s", "-u", "NONE", "-i", "NONE", "--server", "%s", "--remote-ui"]]=],
|
string.format([=[["%s", "--server", "%s", "--remote-ui"]]=],
|
||||||
nvim_prog, server_pipe))
|
nvim_prog, server_pipe))
|
||||||
|
|
||||||
screen_client:expect{grid=[[
|
screen_client:expect{grid=[[
|
||||||
Hello, Worl{1:d} |
|
Hello, Worl{1:d} |
|
||||||
{4:~ }|
|
{4:~ }|
|
||||||
{4:~ }|
|
{4:~ }|
|
||||||
{4:~ }|
|
{4:~ }|
|
||||||
{5:[No Name] [+] }|
|
{5:[No Name] [+] }|
|
||||||
|
|
|
|
||||||
{3:-- TERMINAL --} |
|
{3:-- TERMINAL --} |
|
||||||
]]}
|
]]}
|
||||||
|
|
||||||
feed_data(":q!\n")
|
feed_data(":q!\n")
|
||||||
|
|
||||||
@@ -2394,7 +2394,7 @@ describe("TUI as a client", function()
|
|||||||
|
|
||||||
set_session(client_super)
|
set_session(client_super)
|
||||||
local screen = thelpers.screen_setup(0,
|
local screen = thelpers.screen_setup(0,
|
||||||
string.format([=[["%s", "-u", "NONE", "-i", "NONE", "--server", "%s", "--remote-ui"]]=],
|
string.format([=[["%s", "--server", "%s", "--remote-ui"]]=],
|
||||||
nvim_prog, server_pipe))
|
nvim_prog, server_pipe))
|
||||||
|
|
||||||
screen:expect{grid=[[
|
screen:expect{grid=[[
|
||||||
@@ -2416,11 +2416,10 @@ describe("TUI as a client", function()
|
|||||||
server:close()
|
server:close()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
||||||
it("throws error when no server exists", function()
|
it("throws error when no server exists", function()
|
||||||
clear()
|
clear()
|
||||||
local screen = thelpers.screen_setup(0,
|
local screen = thelpers.screen_setup(0,
|
||||||
string.format([=[["%s", "-u", "NONE", "-i", "NONE", "--server", "127.0.0.1:2436546", "--remote-ui"]]=],
|
string.format([=[["%s", "--server", "127.0.0.1:2436546", "--remote-ui"]]=],
|
||||||
nvim_prog), 60)
|
nvim_prog), 60)
|
||||||
|
|
||||||
screen:expect([[
|
screen:expect([[
|
||||||
@@ -2467,7 +2466,7 @@ describe("TUI as a client", function()
|
|||||||
|
|
||||||
set_session(client_super)
|
set_session(client_super)
|
||||||
local screen_client = thelpers.screen_setup(0,
|
local screen_client = thelpers.screen_setup(0,
|
||||||
string.format([=[["%s", "-u", "NONE", "-i", "NONE", "--server", "%s", "--remote-ui"]]=],
|
string.format([=[["%s", "--server", "%s", "--remote-ui"]]=],
|
||||||
nvim_prog, server_pipe))
|
nvim_prog, server_pipe))
|
||||||
|
|
||||||
screen_client:expect{grid=[[
|
screen_client:expect{grid=[[
|
||||||
|
Reference in New Issue
Block a user