aboutsummaryrefslogtreecommitdiff
path: root/test/functional/helpers.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-03-26 10:49:32 +0800
committerGitHub <noreply@github.com>2023-03-26 10:49:32 +0800
commit4863ca6b8902c5b0aab95f2af640118cd417d379 (patch)
tree41a1ecb32984dc88f25df722abaf3ba381db3cf3 /test/functional/helpers.lua
parent4eef5ac453866dae7c03f5432fc8c4dfcda19f54 (diff)
downloadrneovim-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/helpers.lua')
-rw-r--r--test/functional/helpers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua
index de5fe96934..188c196eb3 100644
--- a/test/functional/helpers.lua
+++ b/test/functional/helpers.lua
@@ -826,7 +826,7 @@ function module.skip_fragile(pending_fn, cond)
end
function module.exec(code)
- module.meths.exec2(code, { output = false })
+ module.meths.exec2(code, {})
end
function module.exec_capture(code)