changeset 16732:6411f8ef550d v8.1.1368

patch 8.1.1368: modeline test fails with python but without pythonhome commit https://github.com/vim/vim/commit/e09244ee3567d658c293fb1ae0d47a1a8be870ac Author: Bram Moolenaar <Bram@vim.org> Date: Thu May 23 17:35:55 2019 +0200 patch 8.1.1368: modeline test fails with python but without pythonhome Problem: Modeline test fails with python but without pythonhome. Solution: Correct test argument.
author Bram Moolenaar <Bram@vim.org>
date Thu, 23 May 2019 17:45:05 +0200
parents 5ea748e567c3
children 8cd7f9941a04
files src/testdir/test_modeline.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_modeline.vim
+++ b/src/testdir/test_modeline.vim
@@ -127,7 +127,7 @@ func Test_modeline_fails_always()
   call s:modeline_fails('patchexpr', 'patchexpr=Something()', 'E520:')
   call s:modeline_fails('printexpr', 'printexpr=Something()', 'E520:')
   call s:modeline_fails('pythondll', 'pythondll=Something()', 'E520:')
-  call s:modeline_fails('pythonhome', 'pythondll=Something()', 'E520:')
+  call s:modeline_fails('pythonhome', 'pythonhome=Something()', 'E520:')
   call s:modeline_fails('pythonthreedll', 'pythonthreedll=Something()', 'E520:')
   call s:modeline_fails('pythonthreehome', 'pythonthreehome=Something()', 'E520:')
   call s:modeline_fails('pyxversion', 'pyxversion=Something()', 'E520:')
--- a/src/version.c
+++ b/src/version.c
@@ -768,6 +768,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1368,
+/**/
     1367,
 /**/
     1366,