aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/messages_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/messages_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/messages_spec.lua')
-rw-r--r--test/functional/ui/messages_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/ui/messages_spec.lua b/test/functional/ui/messages_spec.lua
index efa776762b..697ddc1887 100644
--- a/test/functional/ui/messages_spec.lua
+++ b/test/functional/ui/messages_spec.lua
@@ -529,7 +529,7 @@ describe('ui/ext_messages', function()
local screen
before_each(function()
- clear{headless=false, args={"--cmd", "set shortmess-=I"}}
+ clear{args_rm={'--headless'}, args={"--cmd", "set shortmess-=I"}}
screen = Screen.new(80, 24)
screen:attach({rgb=true, ext_messages=true, ext_popupmenu=true})
screen:set_default_attr_ids({