mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.2665: test failures
Problem: Test failures. Solution: Check more specific feature. Add missing change.
This commit is contained in:
@@ -88,6 +88,8 @@ find_buffer(typval_T *avar)
|
||||
|
||||
if (avar->v_type == VAR_NUMBER)
|
||||
buf = buflist_findnr((int)avar->vval.v_number);
|
||||
else if (in_vim9script() && check_for_string_arg(avar, 0) == FAIL)
|
||||
return NULL;
|
||||
else if (avar->v_type == VAR_STRING && avar->vval.v_string != NULL)
|
||||
{
|
||||
buf = buflist_findname_exp(avar->vval.v_string);
|
||||
|
@@ -133,7 +133,7 @@ def Test_balloon_show()
|
||||
enddef
|
||||
|
||||
def Test_balloon_split()
|
||||
CheckFeature balloon_eval
|
||||
CheckFeature balloon_eval_term
|
||||
|
||||
assert_fails('balloon_split(true)', 'E1174:')
|
||||
enddef
|
||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2665,
|
||||
/**/
|
||||
2664,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user