aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/commands_spec.lua
diff options
context:
space:
mode:
authorTJ DeVries <devries.timothyj@gmail.com>2020-10-17 16:47:18 -0400
committerGitHub <noreply@github.com>2020-10-17 16:47:18 -0400
commit0ad5b34170920064a415cfcbb01960530ec5f615 (patch)
tree880ad5f5bdbe8c57123c403077f6ce432d5d5f95 /test/functional/lua/commands_spec.lua
parentbd80671786f59152d5ff19ca5ecd065ace067a51 (diff)
parent8e77d70e29f936f4e708ee3244046188b8ad0383 (diff)
downloadrneovim-0ad5b34170920064a415cfcbb01960530ec5f615.tar.gz
rneovim-0ad5b34170920064a415cfcbb01960530ec5f615.tar.bz2
rneovim-0ad5b34170920064a415cfcbb01960530ec5f615.zip
Merge pull request #12053 from tjdevries/tjdevries/nicer_validate
vim.validate(): include stacktrace in 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 cbc3aee557..f2a1b7dede 100644
--- a/test/functional/lua/commands_spec.lua
+++ b/test/functional/lua/commands_spec.lua
@@ -43,7 +43,7 @@ describe(':lua command', function()
eq({'', 'ETTS', 'TTSE', 'STTE'}, curbufmeths.get_lines(0, 100, false))
end)
it('throws catchable errors', function()
- eq([[Vim(lua):E5107: Error loading lua [string ":lua"]:1: unexpected symbol near ')']],
+ eq([[Vim(lua):E5107: Error loading lua [string ":lua"]:0: unexpected symbol near ')']],
pcall_err(command, 'lua ()'))
eq([[Vim(lua):E5108: Error executing lua [string ":lua"]:1: TEST]],
exc_exec('lua error("TEST")'))