Skip to content

Commit

Permalink
patch 8.2.2665: test failures
Browse files Browse the repository at this point in the history
Problem:    Test failures.
Solution:   Check more specific feature.  Add missing change.
  • Loading branch information
brammool committed Mar 27, 2021
1 parent 32105ae commit 7b45d46
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/evalbuffer.c
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/testdir/test_vim9_builtin.vim
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -750,6 +750,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2665,
/**/
2664,
/**/
Expand Down

0 comments on commit 7b45d46

Please sign in to comment.