aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/api_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-04-16 18:27:33 +0800
committerGitHub <noreply@github.com>2023-04-16 18:27:33 +0800
commitfd68cd1c0aa7b3074ed8b316a354bf17111cf0b3 (patch)
tree3584806222b2e137fb341ed32b4764981f1a8aeb /test/functional/lua/api_spec.lua
parentb0978fca6b82a061b345df43745c3ab860e02b58 (diff)
downloadrneovim-fd68cd1c0aa7b3074ed8b316a354bf17111cf0b3.tar.gz
rneovim-fd68cd1c0aa7b3074ed8b316a354bf17111cf0b3.tar.bz2
rneovim-fd68cd1c0aa7b3074ed8b316a354bf17111cf0b3.zip
vim-patch:8.2.2857: Vim9: exception in ISN_INSTR caught at wrong level (#23131)
Problem: Vim9: exception in ISN_INSTR caught at wrong level. Solution: Set the starting trylevel in exec_instructions(). (closes vim/vim#8214) https://github.com/vim/vim/commit/ff65288aa89dcd50760ad942d58baff70c6e93e6 Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'test/functional/lua/api_spec.lua')
-rw-r--r--test/functional/lua/api_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/lua/api_spec.lua b/test/functional/lua/api_spec.lua
index dc6452dd62..ffa2f40e91 100644
--- a/test/functional/lua/api_spec.lua
+++ b/test/functional/lua/api_spec.lua
@@ -103,9 +103,9 @@ describe('luaeval(vim.api.…)', function()
eq(NIL, funcs.luaeval('vim.api.nvim__id(nil)'))
-- API strings from Blobs can work as NUL-terminated C strings
- eq('Vim(call):E5555: API call: Vim:E15: Invalid expression: ',
+ eq('Vim(call):E5555: API call: Vim:E15: Invalid expression: ""',
exc_exec('call nvim_eval(v:_null_blob)'))
- eq('Vim(call):E5555: API call: Vim:E15: Invalid expression: ',
+ eq('Vim(call):E5555: API call: Vim:E15: Invalid expression: ""',
exc_exec('call nvim_eval(0z)'))
eq(1, eval('nvim_eval(0z31)'))