aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/delete_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/legacy/delete_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/legacy/delete_spec.lua')
-rw-r--r--test/functional/legacy/delete_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/legacy/delete_spec.lua b/test/functional/legacy/delete_spec.lua
index cefcd6c6c4..1b9ec9af62 100644
--- a/test/functional/legacy/delete_spec.lua
+++ b/test/functional/legacy/delete_spec.lua
@@ -63,6 +63,6 @@ describe('Test for delete()', function()
it('gives correct emsgs', function()
eq('Vim(call):E474: Invalid argument', exc_exec("call delete('')"))
- eq('Vim(call):E15: Invalid expression: 0', exc_exec("call delete('foo', 0)"))
+ eq('Vim(call):E15: Invalid expression: "0"', exc_exec("call delete('foo', 0)"))
end)
end)