aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/embed_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-04-17 01:38:59 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-04-27 16:31:26 +0200
commit698c4f662d3a30fab1e48dbe7586617a9031a6ea (patch)
tree733c226b0448d219e4097f50625812a0a809bec1 /test/functional/ui/embed_spec.lua
parent17291642bd9a58c39fb4d61f6b6170829a47c73e (diff)
downloadrneovim-698c4f662d3a30fab1e48dbe7586617a9031a6ea.tar.gz
rneovim-698c4f662d3a30fab1e48dbe7586617a9031a6ea.tar.bz2
rneovim-698c4f662d3a30fab1e48dbe7586617a9031a6ea.zip
test: clear(): remove `opts.headless` parameter
Callers can instead specify `args_rm={'--headless'}`. TODO: should `nvim_argv` have "--headless" by default? Need to inspect some uses of spawn(nvim_argv) ...
Diffstat (limited to 'test/functional/ui/embed_spec.lua')
-rw-r--r--test/functional/ui/embed_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/ui/embed_spec.lua b/test/functional/ui/embed_spec.lua
index 10dbc68672..9196c8af40 100644
--- a/test/functional/ui/embed_spec.lua
+++ b/test/functional/ui/embed_spec.lua
@@ -8,7 +8,7 @@ local clear = helpers.clear
local function test_embed(ext_linegrid)
local screen
local function startup(...)
- clear{headless=false, args={...}}
+ clear{args_rm={'--headless'}, args={...}}
-- attach immediately after startup, for early UI
screen = Screen.new(60, 8)