]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.1437: test fails with different error number v9.0.1437
authorBram Moolenaar <Bram@vim.org>
Sat, 1 Apr 2023 21:24:18 +0000 (22:24 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 1 Apr 2023 21:24:18 +0000 (22:24 +0100)
Problem:    Test fails with different error number.
Solution:   Adjust the expected error.

src/testdir/test_listdict.vim
src/version.c

index 49f278cc36c1e3261a92f0e4dd461f25e282c016..b550a431fcf537242be1040150e526c848e97ed2 100644 (file)
@@ -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
index 23d49367707fc8027fd110916c1d33ec11f08023..0e612ee1ee86a233ae7c2bdfe6ab63c41b850afa 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1437,
 /**/
     1436,
 /**/