aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-02-28 18:40:24 +0800
committerGitHub <noreply@github.com>2025-02-28 18:40:24 +0800
commit77626ed7fd369b797dcb2ad0714a84bfd9afff36 (patch)
treefce024d2f065017d40f1536fa4d948676da54a76 /test/functional/lua
parent9b25c68db21c4a2c1edc0d9eb2cdb80cf249193a (diff)
parentb66f395ff444643852e3539b849267658e885bf4 (diff)
downloadrneovim-77626ed7fd369b797dcb2ad0714a84bfd9afff36.tar.gz
rneovim-77626ed7fd369b797dcb2ad0714a84bfd9afff36.tar.bz2
rneovim-77626ed7fd369b797dcb2ad0714a84bfd9afff36.zip
Merge pull request #28486 from zeertzjq/vim-8.2.4603
vim-patch:8.2.{4594,4603,4607,4647,4974}
Diffstat (limited to 'test/functional/lua')
-rw-r--r--test/functional/lua/commands_spec.lua3
-rw-r--r--test/functional/lua/vim_spec.lua2
2 files changed, 3 insertions, 2 deletions
diff --git a/test/functional/lua/commands_spec.lua b/test/functional/lua/commands_spec.lua
index 1fd01cfd5a..fb55611198 100644
--- a/test/functional/lua/commands_spec.lua
+++ b/test/functional/lua/commands_spec.lua
@@ -207,7 +207,8 @@ describe(':lua', function()
-- ":{range}lua" fails on invalid Lua code.
eq(
- [[:{range}lua: Vim(lua):E5107: Error loading lua [string ":{range}lua"]:0: '=' expected near '<eof>']],
+ [[:{range}lua buffer=1: Vim(lua):E5107: Error loading lua ]]
+ .. [[[string ":{range}lua buffer=1"]:0: '=' expected near '<eof>']],
pcall_err(command, '1lua')
)
diff --git a/test/functional/lua/vim_spec.lua b/test/functional/lua/vim_spec.lua
index 8e22644339..c31ce3c678 100644
--- a/test/functional/lua/vim_spec.lua
+++ b/test/functional/lua/vim_spec.lua
@@ -3956,7 +3956,7 @@ stack traceback:
it('failure modes', function()
matches(
- 'nvim_exec2%(%): Vim:E492: Not an editor command: fooooo',
+ 'nvim_exec2%(%), line 1: Vim:E492: Not an editor command: fooooo',
pcall_err(exec_lua, [[vim.api.nvim_win_call(0, function() vim.cmd 'fooooo' end)]])
)
eq(