]> granicus.if.org Git - vim/commitdiff
patch 8.1.1368: modeline test fails with python but without pythonhome v8.1.1368
authorBram Moolenaar <Bram@vim.org>
Thu, 23 May 2019 15:35:55 +0000 (17:35 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 23 May 2019 15:35:55 +0000 (17:35 +0200)
Problem:    Modeline test fails with python but without pythonhome.
Solution:   Correct test argument.

src/testdir/test_modeline.vim
src/version.c

index c3c624d266db60c52a062ffd0a348bd5159122fa..fb3628b273989ef02a7e18a6766c0f897a7a5e46 100644 (file)
@@ -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:')
index 7c548bdbadbc17716fda359b99176dc540b3fa95..6286a7a3841e2a22e63db00494fd0593ed154348 100644 (file)
@@ -767,6 +767,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1368,
 /**/
     1367,
 /**/