aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/commands_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-05-05 19:33:06 +0800
committerGitHub <noreply@github.com>2023-05-05 19:33:06 +0800
commitd9f0d2da4d29847542072099f103e7248fcacaab (patch)
tree8f659e7b0380b57885b04782e01fb04a31918ef8 /test/functional/lua/commands_spec.lua
parent648f777931d49b8013146f69d7e2776f69c52900 (diff)
parent3a1e17e3a1767b4ff8a082150f7f9d6bda50cc8f (diff)
downloadrneovim-d9f0d2da4d29847542072099f103e7248fcacaab.tar.gz
rneovim-d9f0d2da4d29847542072099f103e7248fcacaab.tar.bz2
rneovim-d9f0d2da4d29847542072099f103e7248fcacaab.zip
Merge pull request #23482 from zeertzjq/do-cmdline-verbose
fix(excmd): append original command to error message
Diffstat (limited to 'test/functional/lua/commands_spec.lua')
-rw-r--r--test/functional/lua/commands_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/lua/commands_spec.lua b/test/functional/lua/commands_spec.lua
index 9a8d5efa5d..fca619348d 100644
--- a/test/functional/lua/commands_spec.lua
+++ b/test/functional/lua/commands_spec.lua
@@ -214,7 +214,7 @@ describe(':luado command', function()
end)
it('fails in sandbox when needed', function()
curbufmeths.set_lines(0, 1, false, {"ABC", "def", "gHi"})
- eq('Vim(luado):E48: Not allowed in sandbox',
+ eq('Vim(luado):E48: Not allowed in sandbox: sandbox luado runs = (runs or 0) + 1',
pcall_err(command, 'sandbox luado runs = (runs or 0) + 1'))
eq(NIL, funcs.luaeval('runs'))
end)