diff options
Diffstat (limited to 'test/functional/lua/luaeval_spec.lua')
| -rw-r--r-- | test/functional/lua/luaeval_spec.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/lua/luaeval_spec.lua b/test/functional/lua/luaeval_spec.lua index a203fc27c5..6e2f5c08cb 100644 --- a/test/functional/lua/luaeval_spec.lua +++ b/test/functional/lua/luaeval_spec.lua @@ -16,6 +16,7 @@ local feed = n.feed local assert_alive = n.assert_alive local NIL = vim.NIL local eq = t.eq +local matches = t.matches before_each(clear) @@ -289,6 +290,8 @@ describe('luaeval()', function() return true ]] ) + -- v:errmsg is set properly #35554 + matches(': dead function\n', api.nvim_get_vvar('errmsg')) end) it('should handle passing functions around', function() |