aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/exepath_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-09-12 15:29:39 +0800
committerGitHub <noreply@github.com>2022-09-12 15:29:39 +0800
commit738c204523e4da07468268ae89741f2c86887031 (patch)
treee1acc84917bf6d932cff455c141c0eba4d4c9c1a /test/functional/vimscript/exepath_spec.lua
parentf98cff9575e75a050d2bde01ad950c0c72bcfc3e (diff)
parent49aa9e17fa6f9b22550bff8f468c375ddf03fece (diff)
downloadrneovim-738c204523e4da07468268ae89741f2c86887031.tar.gz
rneovim-738c204523e4da07468268ae89741f2c86887031.tar.bz2
rneovim-738c204523e4da07468268ae89741f2c86887031.zip
Merge pull request #20160 from zeertzjq/vim-8.2.2646
vim-patch:8.2.{2646,2664}: string argument type check
Diffstat (limited to 'test/functional/vimscript/exepath_spec.lua')
-rw-r--r--test/functional/vimscript/exepath_spec.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/vimscript/exepath_spec.lua b/test/functional/vimscript/exepath_spec.lua
index bbca954511..439dd96fcd 100644
--- a/test/functional/vimscript/exepath_spec.lua
+++ b/test/functional/vimscript/exepath_spec.lua
@@ -21,12 +21,12 @@ describe('exepath()', function()
it('fails for invalid values', function()
for _, input in ipairs({'v:null', 'v:true', 'v:false', '{}', '[]'}) do
- eq('Vim(call):E928: String required', exc_exec('call exepath('..input..')'))
+ eq('Vim(call):E1174: String required for argument 1', exc_exec('call exepath('..input..')'))
end
- eq('Vim(call):E1142: Non-empty string required', exc_exec('call exepath("")'))
+ eq('Vim(call):E1142: Non-empty string required for argument 1', exc_exec('call exepath("")'))
command('let $PATH = fnamemodify("./test/functional/fixtures/bin", ":p")')
for _, input in ipairs({'v:null', 'v:true', 'v:false'}) do
- eq('Vim(call):E928: String required', exc_exec('call exepath('..input..')'))
+ eq('Vim(call):E1174: String required for argument 1', exc_exec('call exepath('..input..')'))
end
end)