aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/loop_spec.lua
diff options
context:
space:
mode:
authorGregory Anders <8965202+gpanders@users.noreply.github.com>2021-11-06 08:26:10 -0600
committerGitHub <noreply@github.com>2021-11-06 08:26:10 -0600
commit03b805aee617f67eb7f33a54822bc76c23a2c5f5 (patch)
treefc27127d462fe91159eb99c5a724c7b10e459f1b /test/functional/lua/loop_spec.lua
parent1fdbd29dfa6366f8346693d0bf67f4f782ab0f32 (diff)
downloadrneovim-03b805aee617f67eb7f33a54822bc76c23a2c5f5.tar.gz
rneovim-03b805aee617f67eb7f33a54822bc76c23a2c5f5.tar.bz2
rneovim-03b805aee617f67eb7f33a54822bc76c23a2c5f5.zip
feat(lua): enable stack traces in error output (#16228)
Diffstat (limited to 'test/functional/lua/loop_spec.lua')
-rw-r--r--test/functional/lua/loop_spec.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/lua/loop_spec.lua b/test/functional/lua/loop_spec.lua
index 992d1666f6..7f3787d7bf 100644
--- a/test/functional/lua/loop_spec.lua
+++ b/test/functional/lua/loop_spec.lua
@@ -84,14 +84,14 @@ describe('vim.loop', function()
screen:expect([[
|
- {1:~ }|
- {1:~ }|
- {1:~ }|
- {1:~ }|
{2: }|
{3:Error executing luv callback:} |
{3:[string "<nvim>"]:5: E5560: nvim_set_var must not }|
{3:be called in a lua loop callback} |
+ {3:stack traceback:} |
+ {3: [C]: in function 'nvim_set_var'} |
+ {3: [string "<nvim>"]:5: in function <[string }|
+ {3:"<nvim>"]:2>} |
{4:Press ENTER or type command to continue}^ |
]])
feed('<cr>')