Skip to content

Commit

Permalink
patch 9.0.1437: test fails with different error number
Browse files Browse the repository at this point in the history
Problem:    Test fails with different error number.
Solution:   Adjust the expected error.
  • Loading branch information
brammool committed Apr 1, 2023
1 parent 2ed57ac commit 3cdd799
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/testdir/test_listdict.vim
Original file line number Diff line number Diff line change
Expand Up @@ -1384,7 +1384,7 @@ func Test_listdict_index()
call v9.CheckLegacyAndVim9Failure(['VAR l = [1, 2, 3]', 'LET l[1.1] = 4'], ['E805:', 'E1012:', 'E805:'])
call v9.CheckLegacyAndVim9Failure(['VAR l = [1, 2, 3]', 'LET l[: i] = [4, 5]'], ['E121:', 'E1001:', 'E121:'])
call v9.CheckLegacyAndVim9Failure(['VAR l = [1, 2, 3]', 'LET l[: 3.2] = [4, 5]'], ['E805:', 'E1012:', 'E805:'])
call v9.CheckLegacyAndVim9Failure(['VAR t = test_unknown()', 'echo t[0]'], 'E685:')
call v9.CheckLegacyAndVim9Failure(['VAR t = test_unknown()', 'echo t[0]'], ['E685:', 'E909:', 'E685:'])
endfunc

" Test for a null list
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,8 @@ static char *(features[]) =

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

0 comments on commit 3cdd799

Please sign in to comment.