mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
vim-patch:8.2.2653: build failure
Problem: Build failure.
Solution: Add missing changes.
3a0f092ac0
Omit E1176: only applicable to Vim9 script.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
static char e_string_required_for_argument_nr[]
|
||||
= N_("E1174: String required for argument %d");
|
||||
static char e_non_empty_string_required_for_argument_nr[]
|
||||
= N_("E1142: Non-empty string required for argument %d");
|
||||
= N_("E1175: Non-empty string required for argument %d");
|
||||
static char e_number_required_for_argument_nr[]
|
||||
= N_("E1210: Number required for argument %d");
|
||||
|
||||
|
@@ -997,8 +997,6 @@ EXTERN char e_luv_api_disabled[] INIT(= N_("E5560: %s must not be called in a lu
|
||||
EXTERN char e_floatonly[] INIT(= N_("E5601: Cannot close window, only floating window would remain"));
|
||||
EXTERN char e_floatexchange[] INIT(= N_("E5602: Cannot exchange or rotate float"));
|
||||
|
||||
EXTERN char e_non_empty_string_required[] INIT(= N_("E1142: Non-empty string required"));
|
||||
|
||||
EXTERN char e_cannot_define_autocommands_for_all_events[] INIT(= N_("E1155: Cannot define autocommands for ALL events"));
|
||||
|
||||
EXTERN char e_resulting_text_too_long[] INIT(= N_("E1240: Resulting text too long"));
|
||||
|
@@ -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..')'))
|
||||
|
Reference in New Issue
Block a user