changeset 24317:b48703e93488 v8.2.2699

patch 8.2.2699: Lua test fails Commit: https://github.com/vim/vim/commit/c48f2dc0be158531511adc3065b52bdd1e64acf7 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 3 17:18:52 2021 +0200 patch 8.2.2699: Lua test fails Problem: Lua test fails. Solution: Fix condition. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/8060)
author Bram Moolenaar <Bram@vim.org>
date Sat, 03 Apr 2021 17:30:04 +0200
parents 593bdc37770c
children e43ec29bc73a
files src/testdir/test_lua.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_lua.vim
+++ b/src/testdir/test_lua.vim
@@ -20,7 +20,7 @@ if len(s:luaver) < 3
 endif
 let s:major = str2nr(s:luaver[0])
 let s:minor = str2nr(s:luaver[1])
-if len(s:luaver >= 3)
+if len(s:luaver) >= 3
   let s:patch = str2nr(s:luaver[2])
 else
   let s:patch = 0
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2699,
+/**/
     2698,
 /**/
     2697,