# HG changeset patch # User Bram Moolenaar # Date 1680384603 -7200 # Node ID 75c420223d7ff5a1be056a5afa7855b14f932afc # Parent b2939dee3630f5be4605dfcb57703570c264fe1e patch 9.0.1437: test fails with different error number Commit: https://github.com/vim/vim/commit/3cdd799951b4d08f987a8346a8de544e41fab3d7 Author: Bram Moolenaar Date: Sat Apr 1 22:24:18 2023 +0100 patch 9.0.1437: test fails with different error number Problem: Test fails with different error number. Solution: Adjust the expected error. diff --git a/src/testdir/test_listdict.vim b/src/testdir/test_listdict.vim --- a/src/testdir/test_listdict.vim +++ b/src/testdir/test_listdict.vim @@ -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 diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1437, +/**/ 1436, /**/ 1435,