diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-03-26 10:49:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-26 10:49:32 +0800 |
commit | 4863ca6b8902c5b0aab95f2af640118cd417d379 (patch) | |
tree | 41a1ecb32984dc88f25df722abaf3ba381db3cf3 /test/functional/ex_cmds/verbose_spec.lua | |
parent | 4eef5ac453866dae7c03f5432fc8c4dfcda19f54 (diff) | |
download | rneovim-4863ca6b8902c5b0aab95f2af640118cd417d379.tar.gz rneovim-4863ca6b8902c5b0aab95f2af640118cd417d379.tar.bz2 rneovim-4863ca6b8902c5b0aab95f2af640118cd417d379.zip |
test: use exec_capture() in more places (#22787)
Problem:
Using `meths.exec2("code", { output = true })` is too verbose.
Solution:
Use exec_capture() in more places.
Diffstat (limited to 'test/functional/ex_cmds/verbose_spec.lua')
-rw-r--r-- | test/functional/ex_cmds/verbose_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/ex_cmds/verbose_spec.lua b/test/functional/ex_cmds/verbose_spec.lua index 2482fd912f..def09e2f9e 100644 --- a/test/functional/ex_cmds/verbose_spec.lua +++ b/test/functional/ex_cmds/verbose_spec.lua @@ -28,7 +28,7 @@ vim.api.nvim_exec2("augroup test_group\ autocmd!\ autocmd FileType c setl cindent\ augroup END\ - ", { output = false }) + ", {}) vim.api.nvim_command("command Bdelete :bd") vim.api.nvim_create_user_command("TestCommand", ":echo 'Hello'", {}) |