aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/exepath_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-10-27 13:04:08 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-10-27 13:07:51 +0800
commit25cf4f2fc712530a65dc3b533508c36d0439b728 (patch)
tree450cf5aa4d6b667527b9114e2a2c32d30be1e8c5 /test/functional/vimscript/exepath_spec.lua
parent1fe31651bce5021ea6d6dfe6fa426fde7795a77f (diff)
downloadrneovim-25cf4f2fc712530a65dc3b533508c36d0439b728.tar.gz
rneovim-25cf4f2fc712530a65dc3b533508c36d0439b728.tar.bz2
rneovim-25cf4f2fc712530a65dc3b533508c36d0439b728.zip
vim-patch:8.2.2653: build failure
Problem: Build failure. Solution: Add missing changes. https://github.com/vim/vim/commit/3a0f092ac0dbdd4ce71f9c4abe020e89f13df36c Omit E1176: only applicable to Vim9 script. Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'test/functional/vimscript/exepath_spec.lua')
-rw-r--r--test/functional/vimscript/exepath_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/vimscript/exepath_spec.lua b/test/functional/vimscript/exepath_spec.lua
index 439dd96fcd..db96b79743 100644
--- a/test/functional/vimscript/exepath_spec.lua
+++ b/test/functional/vimscript/exepath_spec.lua
@@ -23,7 +23,7 @@ describe('exepath()', function()
for _, input in ipairs({'v:null', 'v:true', 'v:false', '{}', '[]'}) do
eq('Vim(call):E1174: String required for argument 1', exc_exec('call exepath('..input..')'))
end
- eq('Vim(call):E1142: Non-empty string required for argument 1', exc_exec('call exepath("")'))
+ eq('Vim(call):E1175: 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):E1174: String required for argument 1', exc_exec('call exepath('..input..')'))